DataDriven
LearnPracticeInterviewDiscussDaily

A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
hard
Seniority
L3

Problem

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.

Summary

Some pages hold attention longer than others.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.

Related

  • All Practice Problems
  • Mock Interview Mode
  • SQL Interview Questions
  • Data Engineering Interview Prep Guide
  • Daily Challenge
  • Data Engineering Lessons