LU05.A02 - SQL-DQL: Select from multiple tables

Requirements

Case studies / Assignments

The following ERD describes a order database for a a shop.

ERD eines Shops

Assignments

The general assignment is to develop DQL commands that matches the requirements below:

Assignment A

We need a list with product details as following:

The list must be be sorted by the suppliername in descending order.

Assignment B

Extend the the result of the Select statement from assignment a), so that it must contain only produtcs of the supplier „Leka Trading“.

Assignment C

We would like to know what products the customer „Hanari Carnes“ has ordered in the past. Sort the list by the quantity. detail we require the following data:

Solution

Lösung

Vocabulary

English German

Volkan Demir