Question: write a query to display hotel names and the total income for the hotel from all single rooms Hotel(hotelNo, hotelName, city) Room(roomNo, hotelNo, type, price)

write a query to display hotel names and the total income for the hotel from all single rooms

 write a query to display hotel names and the total income

Hotel(hotelNo, hotelName, city) Room(roomNo, hotelNo, type, price) Booking (hotelNo, guestNo, dateFrom, date To, roomNo) Guest(guestNo, guestName, guestAddress) Hotel(hotelNo, hotelName, city) Room(roomNo, hotelNo, type, price) Booking (hotelNo, guestNo, dateFrom, date To, roomNo) Guest(guestNo, guestName, guestAddress)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!