- #1
mathmari
Gold Member
MHB
- 5,049
- 7
Hey! :giggle:
Use the RADL database as a basis for formulating the following SQL commands.
1. Give an SQL expression that outputs all personnel information for the employee Ernst Pach.
2. Give an SQL expression that outputs all personnel information about the employees, who earn more than 4000 EUR and live in Regensburg.
3. Give an SQL expression that outputs all information about parts in the warehouse, of which at least five pieces are actually in the warehouse.
4. Give an SQL expression that outputs all customers for whom an order exists and they come from Regensburg. Do not use a Cartesian product or join in the expression.
5. Give an SQL expression that outputs the order items with the lowest volume or part number 100001.At 1 do we have the following expression ?
SELECT *
FROM Kunde
WHERE Name = Ernst Pach
At 2 do we have the following expression ?
SELECT *
FROM Kunde
WHERE Kto > 4000 AND Ort = Regensburg :unsure:
Use the RADL database as a basis for formulating the following SQL commands.
1. Give an SQL expression that outputs all personnel information for the employee Ernst Pach.
2. Give an SQL expression that outputs all personnel information about the employees, who earn more than 4000 EUR and live in Regensburg.
3. Give an SQL expression that outputs all information about parts in the warehouse, of which at least five pieces are actually in the warehouse.
4. Give an SQL expression that outputs all customers for whom an order exists and they come from Regensburg. Do not use a Cartesian product or join in the expression.
5. Give an SQL expression that outputs the order items with the lowest volume or part number 100001.At 1 do we have the following expression ?
SELECT *
FROM Kunde
WHERE Name = Ernst Pach
At 2 do we have the following expression ?
SELECT *
FROM Kunde
WHERE Kto > 4000 AND Ort = Regensburg :unsure: