ควิซ 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.

มือใหม่ 5 ควิซ · 50 ข้อ ประมาณ 29 นาที
0/5ผ่าน สอบประจำหมวด 20 ข้อคละกัน ได้ 80% รับใบประกาศ
แท็ก:
1 COUNT, SUM, AVG, MIN & MAX ง่าย Turn many rows into one number with the five core aggregate functions. #aggregates#select 10 ข้อ · ~5 นาที ยังไม่เริ่ม เริ่ม
2 GROUP BY ปานกลาง Split rows into groups and calculate a total, count or average for each one. #group-by#aggregates 10 ข้อ · ~6 นาที ยังไม่เริ่ม เริ่ม
3 HAVING ปานกลาง Filter groups by their totals, counts or averages after GROUP BY. #having#group-by 10 ข้อ · ~6 นาที ยังไม่เริ่ม เริ่ม
4 COUNT(*) vs COUNT(column) ปานกลาง Know exactly what each form of COUNT counts, and why NULL changes the answer. #aggregates#null 10 ข้อ · ~6 นาที ยังไม่เริ่ม เริ่ม
5 Aggregates & NULL ปานกลาง See how SUM, AVG, MIN and MAX skip NULL and what they return when nothing is left. #aggregates#null 10 ข้อ · ~6 นาที ยังไม่เริ่ม เริ่ม