Skip to main content
Journey Uncommon Logo
JourneyUncommon
easySQLaggregate functionsSingle-choice MCQ

Given the salary values 1000, 2000, NULL, what do COUNT(salary) and COUNT(*) return for this table of 3 rows?

SELECT COUNT(salary), COUNT(*) FROM staff;