TASK #233 · Easy · eDreams ODIGEORevenue by Market
Your brief
eDreams ODIGEO sells flights in several European markets. Consider only confirmed
bookings from bookings (status = 'confirmed').
Write a query that for each market returns market, the number of confirmed bookings confirmed_bookings, and their total value revenue (the sum of total_amount).
Write a query that for each market returns market, the number of confirmed bookings confirmed_bookings, and their total value revenue (the sum of total_amount).
Ctrl / ⌘ + ↵
Result
Write a query and run it to see the results.
Schema
customerscustomer_id, full_name, country, signup_datesessionssession_id, customer_id, market, ab_variant, device, session_datefunnel_eventsevent_id, session_id, step, event_timebookingsbooking_id, session_id, customer_id, market, booking_date, origin, destination, total_amount, status