This lesson is being remade with real tools (a real database, the real AI model). The new video and its detailed notes appear here as soon as they are ready.
Video coming soonThis lesson’s video is being made
Start with the notes below; the video appears here as soon as it is on YouTube.
SQL and Databases · Lesson 22 of 90
HAVING and the logical order of a query
HAVINGWHERE vs HAVINGlogical query processing order (FROM, WHERE, GROUP BY, HAVING, SELECT, DISTINCT, ORDER BY, LIMIT)why aliases fail in WHEREconditional aggregationSUM(CASE ...)COUNT with CASEFILTER (WHERE ...) clause