Mock interview. You're interviewing for a data analyst job on a home-sharing marketplace team. The interviewer shares bookings and listings. "Let's see how stays starting in Q1 2026 went."
checkout_date - checkin_date.checkin_date from 1 January to 31 March 2026."In one row: confirmed bookings, their nights, their revenue (total_price), the ADR, and the cancellation rate of all Q1 bookings."
Expected output
Return: bookings, nights, revenue, adr and cancel rate (name the columns however you like)
adr rounded to 2 decimals; cancel_rate as a percentage rounded to 1 decimalExample of the shape (made-up values):
| bookings | nights | revenue | adr | cancel_rate |
|---|---|---|---|---|
| 400 | 1500 | 195000.00 | 130.00 | 12.0 |
Step 1 of 2
Write your query here. Ctrl + Enter submits.