Visualize SQL grouping and aggregation with real-time animations
12 Employees 4 Departments 5 Aggregations
Controls
12
Total Rows
0
Groups
0
After HAVING
Original DataEmployees Table
ID
Name
Department
Position
Location
Salary
Grouped ResultsAfter GROUP BY
Generated SQL Query
SELECT department, COUNT(*)
FROM employees
GROUP BY department
Comments
We Use Cookies (But Not the Chocolate Chip Kind) πͺ
We use essential cookies to make SQLism work (like remembering your theme preference).
Optional cookies help us understand how you use our site to make it better.
By clicking "Accept All", you agree to our use of cookies.
Learn more or customize your preferences.
Cookie Preferences
Hey there, SQL explorer! π
We believe in transparency. Here you can choose which cookies you're comfortable with.
Essential cookies are required for the site to function (like keeping you logged in and remembering your theme).
Essential Cookies
Required for the site to work. Cannot be turned off. Includes theme preferences and session management.
Analytics Cookies
Help us understand how you use SQLism (most popular queries, time spent) so we can improve your learning experience.
Personalization Cookies
Remember your progress, preferred difficulty level, and suggest relevant SQL challenges.