Asked about Getting the data out

What is the difference between WHERE and HAVING?

An answer that works

WHERE filters rows before grouping. HAVING filters groups after aggregation. You cannot reference an aggregate in WHERE because it has not been computed yet.

Reading an answer is not being able to give one. The section that teaches this is Getting the data out, 6 hours of SQL & data access.

Learn this properly