Top 50
Topic roadmap
Updated weekly · Last refresh Nov 1

Top 50 Lag/Lead Interview Questions

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

50questions
~17htotal time
139companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
Window FunctionsStart here. 31 questions · ~620 min
Compare Weekly User Activity TrendsMedium
Practice
Recently asked

Aggregate user activity by week, then use LAG to compare sessions and watch time versus the prior active week.

Window FunctionsLag/LeadDate FunctionsB Lab GlobalTapadScale
Window Functions Rolling ComparisonHard
Practice
Recently asked

Compute each user's seven-day activity average and compare it with the corresponding rolling average from the prior week.

Window FunctionsLag/LeadData ManipulationFactoredRRackspace TechnologyGG-P
Using Moving Window FunctionsMedium
Practice
Recently asked

Calculate three-row moving averages with SQL window frames after aggregating order data by seller and date.

Window FunctionsLag/LeadJoinsCColes GroupttjxShopee
Measure Week-Over-Week Metric ChangesMedium
Practice

Use LAG to compare an operational KPI week over week and surface absolute and percentage change.

Window FunctionsLag/LeadDate FunctionsGICUber FreightCorsair
SQL Window Functions for RetentionMedium
Practice
Recently asked

Calculate monthly cohort retention using date-based cohorts, aggregation, and window functions.

Window FunctionsLag/LeadDate FunctionsXtageBBoston Tech IndiaKKhan Cloud Solutions
SQL Rolling Average with WindowsMedium
Practice

Use PostgreSQL window functions to compare Harnham Recruiter Cloud's seven-day application average with the prior week.

Window FunctionsLag/LeadRunning TotalsHarnhamStepStone GroupHach
More Window Functions 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
Lag/Lead17 questions · ~340 min
SQL for User Engagement TrendsMedium
Practice
Recently asked

Aggregate user engagement by feature and date, then compare daily activity with the previous available date.

Lag/LeadDate FunctionsGroup Byhhims & hersIImpetus TechnologiesGGovTech
SQL for Operational BottlenecksHard
Practice

Join BetMGM incident, workflow, and KPI data to rank the highest-impact operational bottlenecks by month.

Lag/LeadJoinsperformanceMMounee Consulting ServicesBBank of EnglandBBlueOptima
More Lag/Lead questions with a free account
3
More topics2 questions · ~40 min
More questions with a free account
The finish line: interview-readyComplete all 50 questions to finish this plan.