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:aufgaben:a07_erd [2024/08/27 12:33] – vdemir | modul:m290:learningunits:lu03:aufgaben:a07_erd [2024/10/17 13:27] (aktuell) – vdemir | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== | + | ====== |
- | + | From time to time, we may need to analyze an existing database in order to optimize the structure, e.g. for the next software version. | |
- | After developing our conceptional data model, the next step to establish a physical data base is shape a ERD, the Entity Relationship Diagram. | + | |
===== Prerequisites | ===== Prerequisites | ||
* Work type: Peer | * Work type: Peer | ||
- | * Means of aid: only teaching materials, no use of ai. | + | * Means of aid: [[https:// |
- | * Timeframe: | + | * Timeframe: |
- | * Expected result: | + | * Expected result: ERD as a PDF-File, |
===== Task ===== | ===== Task ===== | ||
- | Create an ERD to the given ERM in the Crow's Foot Notation. | + | Go to the W3Schools-Website, |
- | * Identify additional attributes | + | |
- | * Establish relation with inkl. the primary keys and foreign keys | + | |
- | * Connect the tables and finish your work by fixing the entities (0:1, :1, 0:n) | + | |
+ | {{: | ||
- | ===== Given Details ===== | + | - Identify all enties. |
- | 1. Relationships: | + | - Add the attributes and the corresponding data-types to each entity. |
- | | + | - Relate the tables to each other by analysing the primary keys and the foreign keys. |
- | * A Continent can have many Countries. | + | |
- | * A Country can have many Trips. | + | |
- | + | ===== Solution ===== | |
- | 2. ERM in Crow's feet notation | + | [[modul: |
- | * Continent (1) ————< | + | |
- | * Country (1) ————< | + | |
- | + | ||
- | 3. ERM visualisation | + | |
- | + | ||
- | {{:modul: | + | |
===== Vocabulary ===== | ===== Vocabulary ===== | ||
Zeile 36: | Zeile 24: | ||
| prerequisite | Grundvoraussetzung | | | prerequisite | Grundvoraussetzung | | ||
| given| gegebene, vorausgesetzt | | | given| gegebene, vorausgesetzt | | ||
+ | |||
---- | ---- | ||
[[https:// | [[https:// |