Skip to main content

WHERE vs HAVING

Learn WHERE vs HAVING (Aggregate Functions, MySQL) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Introduction WHERE filters individual rows before grouping; HAVING filters groups after aggregation and may use aggregate functions.

More lessons in Aggregate Functions