en:modul:m290_guko:learningunits:lu06:aufgaben:case_tierheim

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
en:modul:m290_guko:learningunits:lu06:aufgaben:case_tierheim [2026/09/23 17:56] – Automatic push translation gkochen:modul:m290_guko:learningunits:lu06:aufgaben:case_tierheim [2026/09/23 18:00] (aktuell) gkoch
Zeile 9: Zeile 9:
 We would like to help animals at the **Ron Animal Shelter** in Root (LU) that are up for adoption ([[https://tierschutz-luzern.ch/tierheim-an-der-ron/|tierschutz-luzern.ch]]) in our database. We would like to help animals at the **Ron Animal Shelter** in Root (LU) that are up for adoption ([[https://tierschutz-luzern.ch/tierheim-an-der-ron/|tierschutz-luzern.ch]]) in our database.
  
-Your tables: **enclosures**, **animal species**, **animal**.+Your tables: **gehege**, **tierart**, **tier**.
  
 ===== Task ===== ===== Task =====
Zeile 15: Zeile 15:
 ==== 1. Insert data records ==== ==== 1. Insert data records ====
  
-**animal-type** (columns: name, origin)+**tierart** (columns: name, herkunft)
 <WRAP center box 80% round><code sql> <WRAP center box 80% round><code sql>
 Hund, Weltweit domestiziert Hund, Weltweit domestiziert
Zeile 24: Zeile 24:
 </code></WRAP> </code></WRAP>
  
-**enclosure** (columns: name, locationarea)+**gehege** (columns: name, standortflaeche)
 <WRAP center box 80% round><code sql> <WRAP center box 80% round><code sql>
 Hundeaussenbereich 1, Garten, 45.50 Hundeaussenbereich 1, Garten, 45.50
Zeile 33: Zeile 33:
 </code></WRAP> </code></WRAP>
  
-**Animal** (Columns: name, date_of_birthgenderenclosure_idspecies_id)+**tier** (Columns: name, geburtsdatumgeschlechtgehege_idart_id)
 <WRAP center box 80% round><code sql> <WRAP center box 80% round><code sql>
 ('Zuki', '2024-04-01', 'w', 2, 3), ('Zuki', '2024-04-01', 'w', 2, 3),
Zeile 44: Zeile 44:
  
 ==== 2. Deliberately violating a constraint ==== ==== 2. Deliberately violating a constraint ====
-Try to create an animal **without a name** (name is NOT NULL). Read the error message.+Try to create an animal **without a name**. Read the error message.
  
 ==== 3. Modifying data ==== ==== 3. Modifying data ====
  • en/modul/m290_guko/learningunits/lu06/aufgaben/case_tierheim.1790178998.txt.gz
  • Zuletzt geändert: 2026/09/23 17:56
  • von gkoch