SQL COUNT, SUM, AVG Workbook: COUNT(*) vs COUNT(column) (SQL Lesson 5)
On Sale
$2.00
$2.00
COUNT(*) counts rows. COUNT(column) skips NULLs. SUM and AVG skip them too, which changes your answer in ways exams love to test. This workbook makes you predict the numbers before you run the query.
The 3 problems
- Easy: in one query, count the enrollment rows, the rows with a grade, and the distinct students.
- Medium: the lowest, highest and average grade points, rounded to 2 places.
- Hard: predict all four aggregate values for the Fall 2026 sections before you run them.
Details: 16 pages and 5 tested queries.