Stale Session Leftovers
The platform team is hunting "zombie sessions" — those lasting longer than a day, likely never closed cleanly. Find sessions whose duration exceeds 24 hours and output session_id and user_id, sorted by session_id.
Expected output sample
This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.
| user_id | session_id |
|---|---|
| 1 | 1 |
| 3 | 3 |
| 5 | 5 |
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign inFocus radio
Paused · SomaFM · Fluid