Skip to content

Glossary: SQL Basics

HAVING

A clause that filters groups after GROUP BY, so it can test aggregates such as `COUNT(*) >= 3`. WHERE filters rows before grouping instead.

Where the book teaches it

Related terms

WHEREGROUP BY