course
How to Use GROUP BY and HAVING in SQL
An intuitive guide for discovering the two most popular SQL commands to aggregate rows of your dataset
Updated Dec 4, 2024 · 6 min read
Associate Data Engineer in SQL
Gain practical knowledge in ETL, SQL, and data warehousing for data engineering.
Become SQL Certified
Prove your SQL skills are job-ready with a certification.
Topics
SQL Courses
2 hr
891.9K
course
Intermediate SQL
4 hr
280.4K
course
Introduction to SQL Server
4 hr
149.2K
See More
RelatedSee MoreSee More
cheat-sheet
SQL Basics Cheat Sheet
With this SQL cheat sheet, you'll have a handy reference guide to basic querying tables, filtering data, and aggregating data
Richie Cotton
5 min
tutorial
The Difference Between WHERE and HAVING in SQL
Discover how WHERE filters row-level data in SQL queries, while HAVING filters grouped data after aggregation, and master their distinct uses in SQL querying.
Islam Salahuddin
8 min
tutorial
Aggregate Functions in SQL
Learn how to use aggregate functions for summarizing results and gaining useful insights about data in SQL.
Sayak Paul
9 min
tutorial
SQL Commands Glossary—An Overview of 25 Most Popular SQL Commands
Learn the basics of the 25 most popular SQL commands and how to use them.
Bekhruz Tuychiev
8 min
tutorial
SQL: Reporting and Analysis
Master SQL for Data Reporting & daily data analysis by learning how to select, filter & sort data, customize output, & how you can report aggregated data from a database!
Hafsa Jabeen
37 min
code-along
Getting Started in SQL
Learn how to write basic queries in SQL and find answers to business questions.
Kelsey McNeillie