EASYVerified Real Interview• Data Analyst

Teams Meeting Duration Outliers

Microsoft's Modern Workplace analytics team is auditing Teams meetings.

Write a query to identify all meetings that lasted longer than 120 minutes (2 hours). Output:

  • meeting_id
  • organizer_id
  • duration_minutes

Order the results by duration_minutes descending.

Table:

  • teams_meetings (meeting_id INT, organizer_id INT, start_time TIMESTAMP, end_time TIMESTAMP)

Execution Sandbox:

Your query executes inside an isolated in-memory PostgreSQL engine (PGlite WebAssembly). You have full access to standard PostgreSQL aggregations, window functions, and CTEs.

Standard SQL (ANSI)|Ln 1, Col 1
⌘↵ Run Query
Ready to execute. Press Run (⌘+Enter)
Write your query and click “Run” or press ⌘+Enter to inspect output.