Loading interview...

High Engagement Pages

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
Seniority
junior, mid

Interview Prompt

Each page view tracks duration in milliseconds. For each page URL, convert the duration to seconds and sum the total viewing time across all views from users who have session records. Only return pages with more than 5 seconds of total viewing time. Return the page URL and total viewing time in seconds.

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