Calculate Page Dwell Time from Event Logs

Problem: Calculate Page Dwell Time from Event Logs

You are given a web event table page_events:

page_events(
  session_id,
  user_id,
  page_id,
  event_time
)

Each row represents ...

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: