Top 50
Topic roadmap
Updated weekly · Last refresh Oct 31

Top 50 Aggregations Interview Questions

The most frequently asked Aggregations questions across all roles and companies, ranked by real interview frequency. Updated daily.

50questions
~17htotal time
1,116companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
database optimizationStart here. 3 questions · ~60 min
2
Ranking7 questions · ~140 min
Top Customers by Sales RevenueEasy
Practice
Recently asked

Use GROUP BY and SUM to rank the top 10 customers by total revenue from a single sales table.

RankingGroup ByAggregationsHousecall ProEquifaxXYZ
Top Products by Sales RevenueEasy
Practice
Recently asked

Find the top 10 products by total sales revenue using joins, aggregation, and a CTE.

RankingGroup ByAggregationsRTXiSmile TechnologiesCatalina
More Ranking questions with a free account
3
Group By5 questions · ~100 min
SQL Duplicate DetectionEasy
Practice
Recently asked

Find duplicate customer profiles by grouping on identifying fields and returning only repeated records.

Group ByHavingAggregationsAdtalem Global EducationUniversity of Southern CaliforniaBlue Cross Blue Shield of Michigan
More Group By questions with a free account
4
Joins5 questions · ~100 min
SQL Query for Data ExtractionEasy
Practice
Recently asked

Extract qualifying market observations by venue and price, then return them in chronological order.

JoinsData ManipulationGroup ByEquifaxDPR ConstructionRigUp
More Joins questions with a free account
5
Window Functions13 questions · ~260 min
Calculate 30-Day User RetentionHard
Practice
Recently asked

Use CTEs, joins, and date filtering to calculate 30-day retention by signup cohort from login and feature usage data.

Window FunctionsDate FunctionsAggregationsCurefitIndeedTikTok
SQL Window Functions ExperienceMedium
Practice
Recently asked

Use SQL window functions to rank regions by average 2024 yield within each country.

Window FunctionsJoinsData ManipulationErnst & YoungKBRMaximus Tech
More Window Functions questions with a free account
6
Date Functions7 questions · ~140 min
More Date Functions questions with a free account
7
More topics10 questions · ~200 min
The finish line: interview-readyComplete all 50 questions to finish this plan.