Search ⌘K
Stripe
Stripe

Interview Core Track · Medium · 25 min

Average Minutes to First Reply

Support leadership wants to compare response speed across inboxes. For conversations created in May 2024, return each inbox_name and the average number of mi...

Interview Core Track
Medium
25 min
query basics
aggregation
joins

Company labels are directional practice context, not official interview guidance.

Timer 00:00
Back to practice

Objective

Practice query basics through a Stripe-tagged business scenario.

Approach

Use this track to improve speed, edge-case handling, and accuracy under timed conditions.

Company context

Company labels are directional practice context, not official interview guidance.

Prereq: query basics
Prereq: filtering

Support leadership wants to compare response speed across inboxes. For conversations created in May 2024, return each inbox_name and the average number of minutes until the first reply, rounded to two decimals. Sort by inbox_name.

conversations
conversation_id INT
inbox_name VARCHAR(30
conversation_idinbox_name
1Payments2024-05-01 09:00:00
2Payments2024-05-02 10:30:00
3Risk2024-05-03 08:15:00
4Risk2024-05-04 12:00:00
5Billing2024-05-05 14:00:00
reply_events
reply_id INT
conversation_id INT
replied_at TIMESTAMP
reply_idconversation_idreplied_at
1112024-05-01 09:12:00
1212024-05-01 09:25:00
1322024-05-02 10:50:00
1432024-05-03 08:45:00
1542024-05-04 12:40:00
1652024-05-05 14:10:00
Editor
SQL workspace

Run queries against the protected question data, then submit once the result shape looks right.

Sign in to run SQL

Create a free account or sign in before running queries against protected question data.