Top 50
Topic roadmap
Updated weekly · Last refresh Sep 13

Top 50 queries Interview Questions

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

50questions
~11htotal time
66companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
SQL & Data ManipulationStart here. 47 questions · ~595 min
SQL for Running AverageMedium
Practice

Calculate five-day rolling service averages using daily aggregation, a calendar join, and PostgreSQL window functions.

queriessqlExlEXL ServicevvConstruct
Employees Joined This YearEasy
Practice

Find how many employees joined this company during this year. Asked in the Virtual Onsite stage. SQL question asked during interview rounds. Task Write ...

queriesDate FunctionsAggregationsAmazonAmazon Web Services
SQL: Highest Marks Per DepartmentEasy
Practice
Recently asked

Use RANK and a department join to find every student tied for the highest marks in each department.

aggregationqueriessqlPractoMphasisAAppian
Top K Users From Chat Logs (SQL)Medium
Practice

Rank users by chat message frequency and return the top k with window functions and aggregation.

queriesRankingAggregationsGoogle
Find Employees Starting With AEasy
Practice

Use a PostgreSQL LIKE filter to find Argus employees whose names begin with the letter A.

queriessqlArgus Information & Advisory Services
SQL for Activity and User MetricsHard
Practice

Aggregate ZoomInfo Engage activities by type and date, include zero-activity combinations, and calculate day-over-day changes.

queriessqlZoomInfoZoomInfo Technologies
Get Duplicate Emails QueryMedium
Practice

Find duplicate active client emails using a PostgreSQL CTE, JOIN, normalization, GROUP BY, and HAVING.

queriesdata managementIon Group
More SQL & Data Manipulation questions with a free account

Sign up to see every question

Create a free account to unlock this list and practice real interview questions.

Get my prep plan
2
Coding3 questions · ~38 min
BST Query: Sum <= kMedium
Practice

Preprocess a C-edge binary search tree to answer multiple sum-of-values-at-most-k queries efficiently.

queriesC-edge
More Coding questions with a free account
The finish line: interview-readyComplete all 50 questions to finish this plan.