Who has no cylinders?
IntermediateNULL by groupVehicle fuel economy (FuelEconomy.gov, model years 2010–2027)
For rows where cylinders IS NULL, count them by atv_type (largest first).
Solution
SELECT atv_type, COUNT(*) AS n
FROM vehicles
WHERE cylinders IS NULL
GROUP BY atv_type
ORDER BY n DESC;Expected output:
Hint
This explains why the NULLs exist: they're not errors.
Same question in Excel / Google Sheets
Filter cylinders to (Blanks), then pivot by atv_type.
Download the CSV from the datasets page. Column letters assume the CSV opens with its header in row 1.
Tip: Ctrl+Enter (⌘+Enter on Mac) checks your answer. Everything runs in your browser; nothing you type is sent anywhere.