Knowledge Discovery in Databases T2: databases P. Berka, 2018 1/14 Databases Flat file client transaction account Relational database Querying: QBE vs. SQL date name surname street city account no. payment balance 980103 Jan Novak Dlouha 5 Praha 1 9945371 100.00 100.00 980105 Jan Novak Dlouha 5 Praha 1 9945371 1500.00 1600.00 980106 Jan Novak Dlouha 5 Praha 1 9945371 -1550.00 50.00 980106 Karel Nemec Podolska 4 Praha 2 24867134 3000.00 6000.00 980107 Karel Nemec Podolska 4 Praha 2 24867134 -4000.00 2000.00 980108 Jan Novak Dlouha 5 Praha 1 9945371 -150.00 -100.00 980111 Karel Nemec Podolska 4 Praha 2 24867134 5000.00 7000.00 . . . id_client name surname street city . . . id_transaction id_account date payment balance . . . id_account id_client . . . SELECT client.name, client.surname, client.street, client.city, account. id_client, transaction.balance FROM client, account, transaction WHERE client.id_client = account.id_account; AND transaction.id_account = account.id_account; AND transaction.balance < 100; GROUP BY client.city
14
Embed
Databasesberka/docs/4iz451/sl02-databaze-en.pdf · 2018-09-25 · hypercube multicube „true“ OLAP vs. ROLAP MOLAP vs. ROLAP physical implementation of the system: star schema,
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Knowledge Discovery in Databases T2: databases
P. Berka, 2018 1/14
Databases
Flat file
client transaction
account
Relational database
Querying: QBE vs. SQL
date name surname street city account no. payment balance
980103 Jan Novak Dlouha 5 Praha 1 9945371 100.00 100.00
980105 Jan Novak Dlouha 5 Praha 1 9945371 1500.00 1600.00
980106 Jan Novak Dlouha 5 Praha 1 9945371 -1550.00 50.00
980106 Karel Nemec Podolska 4 Praha 2 24867134 3000.00 6000.00
980107 Karel Nemec Podolska 4 Praha 2 24867134 -4000.00 2000.00
980108 Jan Novak Dlouha 5 Praha 1 9945371 -150.00 -100.00
980111 Karel Nemec Podolska 4 Praha 2 24867134 5000.00 7000.00