Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
modul:m290:learningunits:lu03:loesungen:l04 [2024/08/27 12:48] – vdemir | modul:m290:learningunits:lu03:loesungen:l04 [2024/10/02 15:13] (aktuell) – vdemir | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== | + | ====== |
+ | * The attribut must be taken over and added with data-types and constraints (primary keys) | ||
+ | * The relations must be realized as relation tables, that connect the base tables | ||
+ | * The attributes of the relation tables are: id, and the primary key of each base table as foreign key | ||
+ | * Finally, the cardinalities must be added, which show how the relationships between the tables actually are. | ||
+ | * The attribut must be taken over and added with data-types and constraints (primary keys) | ||
- | Below figure of a conceptual datamodel illustrates | ||
- | {{: | + | {{: |
+ | |||
+ | ===== Case Study ===== | ||
+ | The relation between **Countries** and **Continents** is a so called **many-to-many-relation = n: | ||
+ | |||
+ | {{: | ||
- | ==== Task ==== | ||
- | Your assignment is to analze the given ERD (coneptual datamodel), which is in fact the last step before creating the actual db ins our Mysql database system, and draw the ERD as a logial data model. The subtasks are: | ||
- | - develop the logical datamodel (tables, attributes, data types, fk/pk) by using the Crow's Foot Notation | ||
- | - realize the realation as ralation tables (id, fk_tab1, fk_tab2, ...) | ||
- | - finalize the ERM by adding the cardinalities (1:1, 1:many, ...) | ||
===== Vocabulary ===== | ===== Vocabulary ===== | ||
^ English ^ German ^ | ^ English ^ German ^ | ||
- | | prerequisite | + | | constraint |
| given | gegebene, vorausgesetzt | | | given | gegebene, vorausgesetzt | | ||
+ | | case study | Fallbeispiel | | ||
---- | ---- | ||
[[https:// | [[https:// |