Question: Use only Structured Query Language (the notations, formats, and rules stated in the lecture notes) Hotel Database Hotel (HotelNo, Name, City) Room (RoomNo, HotelNo, Type,
Use only Structured Query Language (the notations, formats, and rules stated in the lecture notes)
Hotel Database
Hotel (HotelNo, Name, City)
Room (RoomNo, HotelNo, Type, Price)
Booking (HotelNo, GuestNo, DateFrom, DateTo, RoomNo)
Guest (GuestNo, Name, GuestAddress)
Question: What is the lost income from unoccupied rooms for each hotel located in Sacramento during March 2022? The output report includes three column titles as HotelNo, HotelName, and LostIncome.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
