Quiz di Aggregates & GROUP BY

Summarize data with SQL: count, total and average rows with aggregate functions, group them with GROUP BY, filter groups with HAVING and handle NULL along the way.

Principiante 5 quiz · 50 domande circa 29 minuti
0/5superati Esame di categoria 20 domande miste. Con l'80% ottieni un certificato.
Tag:
1 COUNT, SUM, AVG, MIN & MAX Facile Turn many rows into one number with the five core aggregate functions. #aggregates#select 10 domande · ~5 min Da iniziare Inizia
2 GROUP BY Medio Split rows into groups and calculate a total, count or average for each one. #group-by#aggregates 10 domande · ~6 min Da iniziare Inizia
3 HAVING Medio Filter groups by their totals, counts or averages after GROUP BY. #having#group-by 10 domande · ~6 min Da iniziare Inizia
4 COUNT(*) vs COUNT(column) Medio Know exactly what each form of COUNT counts, and why NULL changes the answer. #aggregates#null 10 domande · ~6 min Da iniziare Inizia
5 Aggregates & NULL Medio See how SUM, AVG, MIN and MAX skip NULL and what they return when nothing is left. #aggregates#null 10 domande · ~6 min Da iniziare Inizia