Only Here
A hard SQL mock interview question on DataDriven, with an AI interviewer who asks follow-up questions and a hire or no-hire decision at the end.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L5
Interview Prompt
The ML team is pulling the features that show up in the 'transactions' source but never in 'page_views' or 'ad_impressions', where two records describe the same feature when they share a name and a data type. Each such feature has many transactions records, so collapse them into a single row reporting the feature name, data type, mean recorded value, and mean null percentage across those transactions records.
Summary
Exclusive to one source. Missing from the other.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write and run your SQL against a real database
- Answer the interviewer's follow-up questions, then get a hire or no-hire decision