Study SQL Basics: SELECT, FROM, WHERE — complete the practice problems in your notebook.
Which SQL clause filters rows AFTER grouping?
WHERE filters individual rows before GROUP BY runs. HAVING filters groups after aggregation.
ORDER BY: ASC/DESC sorting. HAVING: filter on aggregate conditions.
LIMIT (or TOP in SQL Server) truncates results. HAVING filters groups based on aggregate conditions.