- #1
mathmari
Gold Member
MHB
- 5,049
- 7
Hey! :giggle:
Give QBE-queries as for the RADL-database.
1. Give a QBE-expression that lists the names of the employees that accepted the orders from the company Maier Ingrid.
2. Give a QBE-expression that gives the order numbers for each individual customer.
3. Give a QBE-expression that lists all orders, the supervising employees and the total volume.I have done the following :
1. In SQL we had the query :
SELECT p.name
FROM personal p, auftrag a, kunde k
WHERE (p.persnr = a.persnr) AND (a.kundnr = k.nr) AND (k.name = 'Maier Ingrid')
So is the QBE-query then :
:unsure:2. Do we write :
Or do we need only the first table? Or do we need also a condition with GROUP BY in case that one costumer has more than one order?
:unsure:3. Do we do that as follows?
:unsure:
To check if we have the correct expressions can nwe check that somehow? Do we maybe write it inside "Afrage" ?
:unsure:
Give QBE-queries as for the RADL-database.
1. Give a QBE-expression that lists the names of the employees that accepted the orders from the company Maier Ingrid.
2. Give a QBE-expression that gives the order numbers for each individual customer.
3. Give a QBE-expression that lists all orders, the supervising employees and the total volume.I have done the following :
1. In SQL we had the query :
SELECT p.name
FROM personal p, auftrag a, kunde k
WHERE (p.persnr = a.persnr) AND (a.kundnr = k.nr) AND (k.name = 'Maier Ingrid')
So is the QBE-query then :
:unsure:2. Do we write :
Or do we need only the first table? Or do we need also a condition with GROUP BY in case that one costumer has more than one order?
:unsure:3. Do we do that as follows?
:unsure:
To check if we have the correct expressions can nwe check that somehow? Do we maybe write it inside "Afrage" ?
:unsure:
Last edited by a moderator: