Sample hotel booking data
Updated 3 November 2026. Fictional U.S. businesses and people, generated with a fixed seed.
What is in it
Each row is one booking at a fictional city hotel or resort hotel arriving in 2024: booking and arrival dates, lead time, nights, guests, room type, sales channel, average daily rate, total price and whether it was canceled. Resort rates peak in summer; long lead times and online agencies cancel more.
More practice tables like this one: all 14 newer sample datasets.
First rows
point at a column to light it up
| booking_idtext | hoteltext | booking_datedate | arrival_datedate | lead_time_daysnumber | nightsnumber | adultsnumber | childrennumber | room_typetext | channeltext | adrnumber | total_pricenumber | is_canceledyes/no |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BK240001 | City Hotel | 2024-05-13 | 2024-05-31 | 18 | 1 | 2 | 0 | Standard | Travel agent | 101.88 | 101.88 | TRUE |
| BK240002 | City Hotel | 2023-12-18 | 2024-01-17 | 30 | 3 | 1 | 0 | Standard | Direct | 121.53 | 364.59 | FALSE |
| BK240003 | City Hotel | 2023-11-26 | 2024-01-04 | 39 | 1 | 2 | 0 | Standard | Direct | 98.9 | 98.9 | FALSE |
| BK240004 | Resort Hotel | 2023-09-11 | 2024-01-06 | 117 | 1 | 2 | 0 | Deluxe | Online travel agency | 182.54 | 182.54 | TRUE |
| BK240005 | City Hotel | 2024-08-31 | 2024-10-07 | 37 | 3 | 2 | 0 | Deluxe | Direct | 149.6 | 448.8 | FALSE |
| BK240006 | Resort Hotel | 2023-11-24 | 2024-05-02 | 160 | 6 | 2 | 1 | Standard | Travel agent | 151.49 | 908.94 | FALSE |
| BK240007 | Resort Hotel | 2023-09-06 | 2024-03-01 | 177 | 1 | 2 | 1 | Family | Direct | 217 | 217 | FALSE |
| BK240008 | Resort Hotel | 2024-06-17 | 2024-06-20 | 3 | 7 | 2 | 1 | Family | Travel agent | 276.68 | 1936.76 | FALSE |
| BK240009 | City Hotel | 2024-11-04 | 2024-12-31 | 57 | 1 | 1 | 0 | Suite | Corporate | 200.47 | 200.47 | FALSE |
| BK240010 | City Hotel | 2024-02-28 | 2024-05-07 | 69 | 5 | 1 | 0 | Deluxe | Direct | 127.51 | 637.55 | FALSE |
Average daily rate by room type
USD per night, 1,000-row file
Show as a table
| room_type | value |
|---|---|
| Suite | $269 |
| Family | $189 |
| Deluxe | $169 |
| Standard | $130 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| booking_id | text | Booking number |
| hotel | text | City Hotel or Resort Hotel (fictional) |
| booking_date | date | Day the booking was made |
| arrival_date | date | Check-in day (2024) |
| lead_time_days | integer | arrival_date - booking_date |
| nights | integer | Nights booked |
| adults | integer | Adults |
| children | integer | Children |
| room_type | text | Standard, Deluxe, Family or Suite |
| channel | text | Direct, Online travel agency, Corporate or Travel agent |
| adr | decimal | Average daily rate (USD per night) |
| total_price | decimal | adr x nights |
| is_canceled | boolean | Booking was canceled (TRUE/FALSE) |
Practice questions
answers checked in SQL and in Python
Cancellation rate by channel?
Online travel agency 29.3%; Direct 14.2%; Corporate 10.7%; Travel agent 8.3%
Excel
=COUNTIFS(J:J,"Direct",M:M,TRUE)/COUNTIF(J:J,"Direct")SQL
SELECT channel, ROUND(100.0*SUM(is_canceled)/COUNT(*),1) AS pct FROM hotel_bookings GROUP BY channel ORDER BY pct DESC, channelFile: hotel-bookings-1000
Revenue from bookings that were not canceled, by hotel?
Resort Hotel $267,331.55; City Hotel $170,763.25
Excel
=SUMIFS(L:L,B:B,"City Hotel",M:M,FALSE)SQL
SELECT hotel, ROUND(SUM(total_price),2) AS rev FROM hotel_bookings WHERE NOT is_canceled GROUP BY hotel ORDER BY rev DESCFile: hotel-bookings-1000
Average lead time (days) by hotel?
Resort Hotel 98.7; City Hotel 50.5
SQL
SELECT hotel, ROUND(AVG(lead_time_days),1) AS lt FROM hotel_bookings GROUP BY hotel ORDER BY lt DESCFile: hotel-bookings-1000