SQL Take-Home Interview Simulation
Practice a timed support-operations case with event cleanup, reporting-cutoff logic and independently checked solutions.
Sold individually. This product is not included in the existing toolkits or Ultimate Bundle.
Support operations at Northstar
A support director needs an August service review. Your task is to turn lifecycle events into reliable metrics, with explicit reporting-cutoff and source-quality rules.
### 01. Source quality (10 points) Return raw event rows, exact duplicate rows, orphan rows, pre-creation rows, future rows, and conflicting event IDs. These diagnostics can overlap. Audit the raw events table. ### 02. August intake (10 points) Count tickets created in August through the reporting cutoff by priority. Return priority and opened_tickets, sorted by priority. ### 03. Open-ticket snapshot (15 points) Return every open ticket at the cutoff with ticket_id, priority and age_days. Age is the difference between calendar dates. Use lifecycle events, not the most recent reply. Sort by ticket_id. ### 04. Open backlog aging (10 points) Count open tickets in 0–7, 8–14, 15–30 and 31+ calendar-day bands. Return all four bands in that order, including zero counts.
The download includes all eight assignments, candidate SQL, standard and edge-case data, explained solutions and expected results.
What you can do with it
- Eight assignments with a 100-point scoring rubric
- 120 fictional tickets, lifecycle events, agents and policies
- Standard and edge-case fixtures with expected CSV outputs
- Candidate starter SQL, explained solutions and a verification script
What is included
Version 1.0 · one ZIP download · 27 KB
See every included filename (41 files)
ASSIGNMENT.mdCONTENTS.txtLICENSE.txtPRODUCT-GUIDE.mdSCORING-AND-EXPLANATIONS.mdSTART-HERE.mdcandidate/01-source-audit.sqlcandidate/02-august-intake.sqlcandidate/03-open-snapshot.sqlcandidate/04-aging-bands.sqlcandidate/05-first-response.sqlcandidate/06-response-sla.sqlcandidate/07-closure-activity.sqlcandidate/08-reopen-cohort.sqlexpected-core/01-source-audit.csvexpected-core/02-august-intake.csvexpected-core/03-open-snapshot.csvexpected-core/04-aging-bands.csvexpected-core/05-first-response.csvexpected-core/06-response-sla.csvexpected-core/07-closure-activity.csvexpected-core/08-reopen-cohort.csvexpected-edge/01-source-audit.csvexpected-edge/02-august-intake.csvexpected-edge/03-open-snapshot.csvexpected-edge/04-aging-bands.csvexpected-edge/05-first-response.csvexpected-edge/06-response-sla.csvexpected-edge/07-closure-activity.csvexpected-edge/08-reopen-cohort.csvsetup-core.sqlsetup-edge.sqlsolutions/01-source-audit.sqlsolutions/02-august-intake.sqlsolutions/03-open-snapshot.sqlsolutions/04-aging-bands.sqlsolutions/05-first-response.sqlsolutions/06-response-sla.sqlsolutions/07-closure-activity.sqlsolutions/08-reopen-cohort.sqlverify-solutions.py
How to use it
- Read ASSIGNMENT.md before looking at the solution folder. Use the supplied reporting cutoff and definitions.
- Follow START-HERE.md to create the disposable SQLite database. Work in the candidate SQL files and allow yourself 90 minutes.
- Submit query outputs and a short explanation of the reporting grain, event exclusions and limits.
The included guide continues with definitions, review steps and product-specific limits.
Before you choose
This is a new support-operations case, separate from the Career Pack’s 18-exercise interview lab and portfolio projects.
The assignment defines the cutoff, first human response, eligible SLA cohort, reopenings and closure activity. Follow those definitions rather than assuming a generic ticket metric.
Format and scope
Tested with SQLite and Python 3.10+. Other SQL engines need syntax adaptations. No hosted database or paid software is included.
This is original practice material, not an employer’s actual interview, a credential or a hiring guarantee.