Why does New York earn more per listing?
MediumAirbnbrevenue per listingmetric decompositionroom-type mix· 60 XP (20 per question)
Mock interview. You're interviewing for a business analyst job on a home-sharing marketplace's city teams. The interviewer says: "New York listings earn far more than Lisbon ones. The Lisbon team wants to know if they're doing something wrong. Can you explain the gap?"
Use confirmed bookings with a checkin_date in Q1 2026 (January to March). Count every listing in a city, including listings with no bookings.
Question 1: How big is the gap?
"Show each city's listings, Q1 revenue, and revenue per listing."
Expected output
Return: city, listings, revenue and revenue per listing (name the columns however you like)
- Columns
city,listings,revenue,revenue_per_listing(rounded to 2 decimals); sorted byrevenue_per_listing, highest first
Example of the shape (made-up values):
| city | listings | revenue | revenue_per_listing |
|---|---|---|---|
| Rome | 60 | 42000.00 | 700.00 |
Question 1 of 3
Write your query here. Ctrl + Enter submits.