Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Selection Queries: Hotel Rom Booking (hotelNo, hotelName, city) (roomNo, hotelNo, type, price) (hotelNo, questNo, dateFrom, date To, roomNo) (guestNo, guestName, guestAddress) Guest Room contains room

image text in transcribed

image text in transcribed

Selection Queries: Hotel Rom Booking (hotelNo, hotelName, city) (roomNo, hotelNo, type, price) (hotelNo, questNo, dateFrom, date To, roomNo) (guestNo, guestName, guestAddress) Guest Room contains room details for each hotel and (roomNo, hotelNo) forms the primary key Guest contains guest details and guestNo is the primary key. 1. Sub queries and Joins: a ist the price and type of all rooms at the Grosvenor Hotel. List the details of all rooms at the Grosvenor Hotel, including the name of the guest staying in the room, if the room is occupied. b) HINT: Use LEFT JOIN for this statement

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

ISBN: 321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

a. How will the leader be selected?

Answered: 1 week ago

Question

b. Will new members be welcomed?

Answered: 1 week ago