Top 50
Topic roadmap
Updated weekly · Last refresh Sep 13

Top 50 Date Functions Interview Questions

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

50questions
~17htotal time
516companies 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. 33 questions · ~660 min
7-Day Rolling Active UsersMedium
Practice
Recently asked

Compute daily active users and a 7-day rolling average using a CTE, distinct counts, and window functions.

Window FunctionsDate FunctionsRunning TotalsMetaSpotifyMeta IT
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
Running Total With Window FunctionsEasy
Practice
Recently asked

Calculate each user's running order total over time using a window function.

Window FunctionsDate FunctionsRunning TotalsBayerSparksoftWestern Digital
Compare Weekly User Activity TrendsMedium
Practice

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
Compare Monthly User Retention CohortsMedium
Practice
Recently asked

Calculate month-1 retention for January vs February signup cohorts using joins, date filtering, and aggregation.

Window FunctionsDate FunctionsAggregationsTrideumZulilyeBay
Weekly Signup Cohort RetentionHard
Practice

Calculate weekly retention by signup cohort using CTEs, joins, date truncation, and distinct user counts.

Window FunctionsDate FunctionsAggregationsBrexPostmaneToro
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
Date Functions16 questions · ~320 min
SQL for Operational PerformanceMedium
Practice
Recently asked

Use joins, conditional aggregation, and date filtering to measure Carvana location performance over the last 30 days.

Date FunctionsGroup ByAggregationsCarvanaGeorgetown UniversityPluralsight
Top Product Revenue Last 30 DaysMedium
Practice
Recently asked

Use joins, a CTE, and aggregation to rank the top 5 products by non-returned revenue in the last 30 days.

Date FunctionsJoinsAggregationsBlue NileO'Reilly Auto PartsCengage
More Date Functions questions with a free account
3
More topics1 question · ~20 min
More questions with a free account
The finish line: interview-readyComplete all 50 questions to finish this plan.