GROUP BY with HAVING (MAX)
771196Aug 14 2010 — edited Aug 14 2010The SELECT-instruction with the GROUP BY-clause shows the incomplete result.
The result of this query should show only the group of the car manufacturer who shows the maximum, middle hourly number (DFC).
How must the clause HAVING be here?
SELECT typ, AVG (c_h) DFC
GROUP BY typ
HAVING ?;
The result is:
TYP DFC
MG 5000
Jaguar 7000
Triumph 9000
Many thanks in advance for the help.
Edited by: user3227321 on 14.08.2010 11:55