Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started
Find Drivers of Backlog Growth
00:00
5 left

Find Drivers of Backlog Growth

HardSQL · PostgreSQL

Problem

You are given a backlog snapshot table and asked to identify the top drivers of backlog growth over time. Write a PostgreSQL query that measures month-over-month backlog change for each queue, ranks queues within each month by their contribution to growth, and returns the ranked results in chronological order.

Schema

backlog_snapshots
ColumnTypeDescription
snapshot_dateDATEDate the backlog snapshot was recorded
queue_nameVARCHAR(100)Queue or workstream name
backlog_countINTOpen backlog items at the snapshot date
regionVARCHAR(50)Region associated with the queue
Tablesbacklog_snapshots
Interviewer

Your question is Find Drivers of Backlog Growth. Start with the requirements and the one table in the Question tab.

Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.

You need to log in / sign up to run or submit.
CodePostgreSQL
You need to log in / sign up to run or submit.Ln 1
Run your query to see results here.