Session Overview
A medium 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
- medium
- Seniority
- L4
Interview Prompt
The product team wants a per-user report from `users` and `user_sessions`: each user's `user_id` and `username` next to how many sessions they have and their longest `session_duration_sec`.
Summary
Full engagement picture, even for the ones who never showed up.
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