Question: This is my er diagram, I need help getting an idea on how to write a query for the two statements listed below. 1. NOTE[THIS

This is my er diagram, I need help getting an idea on how to write a query for the two statements listed below.
1. NOTE[THIS ONE SHOULD BE A PROCEDURE OR FUNCTION] SpecificHotelReport: Input: hotelID, start-date, end-date. Print (for the given time interval):
Income by room type
Income of services, by service type
Total income from all sources.
2. Total income from all sources of all hotels. Totals must be printed by month, and for each month by room type, service type. Include discounts.
Rooms oom Number Room charge Misc charges Credit card No Payment Date Customer ID
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
