PostgreSQL - Aggregate Functions and GROUP BY
Find the error in this PostgreSQL query:
SELECT product_type, COUNT(*) FROM inventory GROUP BY product_type HAVING COUNT(*) < 10 ORDER BY product_type;
