Write a query to identify passengers who have booked more than three flights in a single month, displaying their names and total bookings.
Use the passengers and flight_bookings tables. Bookings with a NULL booked_at value must be ignored.
passenger_name, booking_month, and total_bookings.booking_month ascending, then passenger_name ascending.| Column | Type | Description |
|---|---|---|
| passenger_idPK | INTEGER | Unique passenger identifier |
| passenger_name | VARCHAR(100) | Passenger's full name |
| loyalty_tier | VARCHAR(30) | MileagePlus loyalty tier |
| Column | Type | Description |
|---|---|---|
| booking_idPK | INTEGER | Unique booking identifier |
| passenger_id | INTEGER | Passenger associated with the booking |
| booked_at | TIMESTAMP | Timestamp when the flight was booked |
| flight_number | VARCHAR(10) | United Airlines flight number |