Question
HOW TO DO THIS DATABASE QUESTION USING ORACLE? PLEASE MAKE SURE TO RUN IT TO CHECK OUTPUT Hotel ( hotelNo , hotelName, hotelAddress, country) Room
HOW TO DO THIS DATABASE QUESTION USING ORACLE? PLEASE MAKE SURE TO RUN IT TO CHECK OUTPUT
Hotel (hotelNo, hotelName, hotelAddress, country)
Room (roomNo, hotelNo, type, price)
Guest (guestNo, guestName, guestAddress, country)
Booking (hotelNo, guestNo, dateFrom, dateTo, roomNo)
1. (a). List the hotelNo, roomNo order of all the rooms at Grosvenor hotels, including name of guest staying in the room if the room is Occupied. Use 2019-02-05 as todays date.
(b). List the hotelNo, roomNo order of all the Unoccupied rooms at Grosvenor hotels, Use NOT IN to perform the difference operation.Use 2019-02-05 as todays date.
(c). List the hotelNo, roomNo order of all the Unoccupied rooms at Grosvenor hotels, Use NOT EXISTS to perform the difference operation. Use 2019-02-05 as todays date.
(d). List the hotelNo, roomNo order of all the Unoccupied rooms at Grosvenor hotels, Use LEFT JOIN to perform the difference operation. Use 2019-02-05 as todays date.
(e). List the hotelNo, roomNo order of all the Unoccupied rooms at Grosvenor hotels, Use MINUS to perform the difference operation. Use 2019-02-05 as todays date.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started