How healthy are our restaurant partners?
HardDoorDashleft joinrank per groupshare of groupntilegone-quiet detection· 160 XP (40 per question)
Mock interview. You're interviewing for a senior analyst job on a food delivery app's restaurant partnerships team. The interviewer says: "Our account managers can only call so many restaurants. Help us decide who to focus on."
Unless a step says otherwise, use orders placed from 1 January to 31 May 2026. Gross order value (GOV) is the sum of order_total for delivered orders. Include restaurants with no orders as 0.
Question 1: By price level
"For each price_level (1 = cheapest, 4 = priciest): restaurants, orders per restaurant, GOV per restaurant, and the cancellation rate."
Expected output
- Columns
price_level,restaurants,orders_per_restaurant(1 decimal),gov_per_restaurant(2 decimals),cancel_rate(a percentage, 1 decimal); sorted byprice_level
Example of the shape (made-up values):
| price_level | restaurants | orders_per_restaurant | gov_per_restaurant | cancel_rate |
|---|---|---|---|---|
| 1 | 25 | 30.0 | 900.00 | 3.0 |
Hints, the later questions and the answer come with Pro.
Question 1 of 4
Write your query here. Ctrl + Enter submits.