Course Solutions Uncategorized (Solved) : Database Question Using Oracle Hotel Hotelno Hotelname Hoteladdress Country Room Roomno Ho Q34314024 . . . .

(Solved) : Database Question Using Oracle Hotel Hotelno Hotelname Hoteladdress Country Room Roomno Ho Q34314024 . . . .

 

HOW TO DO THIS DATABASE QUESTION USING ORACLE?

Hotel (hotelNo, hotelName, hotelAddress,country)
Room (roomNo, hotelNo, type, price)
Guest (guestNo, guestName, guestAddress,country)
Booking (hotelNo, guestNo,dateFrom, dateTo, roomNo)

1. (a). Do this for each hotel and in one single query. List thetotal revenue with the hotelName, and only if the total revenue isbetween $500 to $1000 [in SQL context]. List in hotelNameorder.

(b). List the type and price of all rooms at the hotels with’Grosvenor’ in name, including the number of rooms for eachpossible combination of type and price. List only if the number ofrooms for each type and price combination is greater than 3. [Note:Consider which

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : 57 Hash File Partitioned 10 Buckets Probability Least Two Three Arbitrary Records Hashing Q34763883 . . . .(Solved) : 57 Hash File Partitioned 10 Buckets Probability Least Two Three Arbitrary Records Hashing Q34763883 . . . .

<p><img alt="*57. If a hash file is partitioned into 10 buckets, what is the probability of at least two of three arbitrary records hashin" src="https://media.cheggcdn.com/media%2F8b0%2F8b010438-9ef3-48b1-bdd7-fc31629a7d27%2FphpiUzrCf.png" style="height:98px;width:436px;" aria-describedby="d3f"/></p><p><img alt="(Assume the hash