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:aufgaben:a02 [2024/09/03 13:34] – vdemir | modul:m290:learningunits:lu04:aufgaben:a02 [2024/10/17 12:35] (aktuell) – vdemir | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== | + | ====== |
| ===== Requirements | ===== Requirements | ||
| * Work type: individual | * Work type: individual | ||
| - | * Timeframe: | + | * Timeframe: |
| * Means of aid: | * Means of aid: | ||
| * only teaching materials, no websearch, no use of ai. | * only teaching materials, no websearch, no use of ai. | ||
| * [[https:// | * [[https:// | ||
| * Expected result: Semantically and syntactically correct SQL statements according to the requirements of the case studies. | * Expected result: Semantically and syntactically correct SQL statements according to the requirements of the case studies. | ||
| - | * | ||
| ===== Case studies / Assignments ===== | ===== Case studies / Assignments ===== | ||
| Zeile 16: | Zeile 15: | ||
| ===== Assignments ===== | ===== Assignments ===== | ||
| - | You general assignment is to develop DQL commands that matches the requirements below: | + | The general assignment is to develop DQL commands that matches the requirements below: |
| + | ==== Assignment A ==== | ||
| + | We need a list with product details as following: | ||
| + | * Name of the supplier | ||
| + | * Supplier phone | ||
| + | * Product ID | ||
| + | * Name of the product | ||
| + | * Units | ||
| + | * Price | ||
| + | The list must be be sorted by the suppliername in descending order. | ||
| - | * a) We need a list with product details as following: | + | ==== Assignment B ==== |
| - | * Supplier name | + | Extend the the result of the Select statement from assignment |
| - | * Supplier phone | + | |
| - | * ProductID | + | |
| - | * ProductName | + | |
| - | * Units | + | |
| - | * Price | + | |
| - | * Ordered by SupplierName descending | + | |
| - | SELECT s.SupplierName, | + | ==== Assignment C ==== |
| - | | + | We would like to know what products the customer " |
| - | | + | |
| - | | + | |
| - | + | | |
| - | | + | |
| - | + | | |
| - | | + | * ProductName |
| - | * b) Generate a list with ProductNames, | + | * CategoryName |
| - | * c) Find all employees who graduated from a university. The relevant information is hidden in the table Employees, within the colums Notes. | + | |
| ===== Solution ===== | ===== Solution ===== | ||
| [[modul: | [[modul: | ||
| - | + | | |
| ===== Vocabulary ===== | ===== Vocabulary ===== | ||
| ^ English ^ German ^ | ^ English ^ German ^ | ||
| - | | respectively | + | | ... | ...| |
| - | | assignment | Auftrag | + | |
| ---- | ---- | ||
| [[https:// | [[https:// | ||