Solve a set of join-heavy SQL questions under time pressure.
Using the supplied Airbnb host, listing, and reservation data, write a query that summarizes each host with at least one active listing. Include only confirmed reservations whose checkout dates fall in 2025. Hosts without qualifying reservations must still appear.
Output
- One row per host with at least one active listing.
- Columns:
host_id, host_name, active_listing_count, reservation_count, gross_booking_value, and latest_checkout.
- Order by
gross_booking_value descending, then host_id ascending.