Loading interview...

User 360

A hard SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.

Domain
SQL
Difficulty
hard

Interview Prompt

The product team wants a one-row-per-user activity summary, including users with zero activity. For every user, count their rows in transactions and their rows in user_sessions, substituting 0 when either side is empty. Return the username, transaction count, and session count.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your sql solution with real code execution
  4. Get instant feedback and a hire/no-hire decision