Cabins with Odd Booking Counts
An analyst suspects some cabins have an odd number of bookings — usually a sign that something was cancelled untidily. Output the ids of those cabins together with their booking counts.
Expected output sample
This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.
| cabin_id | times_booked |
|---|---|
| 3 | 1 |
| 5 | 1 |
| 6 | 1 |
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in