Answered step by step
Verified Expert Solution
Question
1 Approved Answer
IM USING TERMINAL ON MACOS Part 1 Creation of database, using the database, creation of tables, inserts of Part 2 : Create the following queries
IM USING TERMINAL ON MACOS
Part Creation of database, using the database, creation of tables, inserts of Part : Create the following queries
Write a query fetching the customer's email address and full name.
Write a query fetching the hotel name and the entire address which is located
in Los Angeles California.
Write a query that fetches all the reservations whose checkin date is from
July nd to December rd
Write a query that fetches all the reservations whose is staying days or
more and has more than guest.
Write a query that fetches how many reservations each hotel has.
Write a query that fetches the category and description of the room and its
daily rate, whose description contains kingsized bed.
Write a query that fetches the highestpriced room, lowestpriced room, and
the average price of the room.
Write a query that fetches all the rooms, and sort them from the highest to
lowest price rooms. Part Creation of database, using the database, creation of tables, inserts of
data, the screenshot that shows you are a customer and you made a
reservation,
SELECT FROM CUSTOMER; SELECT FROM RESERVATION;
SELECT FROM ROOM; SELECT FROM HOTEL;
All queries of part
data, the screenshot that shows you are a customer and you made a
reservation,
SELECT FROM CUSTOMER; SELECT FROM RESERVATION;
SELECT FROM ROOM; SELECT FROM HOTEL;
All queries of part
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