Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
modul:m290:learningunits:lu04:theorie:c_multipletables [2024/09/03 11:37] – [LU04c - Multiple table] vdemir | modul:m290:learningunits:lu04:theorie:c_multipletables [2024/10/17 12:34] (aktuell) – vdemir | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== | + | ====== |
Source: [[https:// | Source: [[https:// | ||
- | As we know, a RDB essentially consists of tables which are linked together to increase quality and performance and reduce unintended redundancies and inconsistencies. | + | As we know, a RDB essentially consists of tables which are linked together to increase quality and performance and reduce unintended redundancies and inconsistencies. |
{{: | {{: | ||
+ | |||
+ | If we want to know which orders were placed by which customer we have to deal with the two tables **CUSTOMERS** and **ORDERS**, and the key that connects the two is logically the CustomerID. | ||
+ | |||
===== Select on two tables ===== | ===== Select on two tables ===== | ||
- | In real live we would like to know which one particular | + | In practice, |
SELECT c.*, o.orderdate | SELECT c.*, o.orderdate |