Display available Hotels (by ID, Name, and address) in the City of Chicago with a maximum capacity of 1000 (included) and 1500 (included). Display the results in ascending order with respect to the ID.

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 3TD
icon
Related questions
Question
100%
Consider a database with the following relations:
Hotel
(Hotel ID, H_Name, H_Address, H_City, Maximum_Capacity)
Guest (Guest ID, G_Name, G_Address, G_City)
Room (Hotel ID, Room Number, Type, Price_Per_Night)
Booking (Guest ID, Hotel ID, Room Number, From_Date, To_Date,
Number_of_Nights)
Transcribed Image Text:Consider a database with the following relations: Hotel (Hotel ID, H_Name, H_Address, H_City, Maximum_Capacity) Guest (Guest ID, G_Name, G_Address, G_City) Room (Hotel ID, Room Number, Type, Price_Per_Night) Booking (Guest ID, Hotel ID, Room Number, From_Date, To_Date, Number_of_Nights)
Display available Hotels (by ID, Name, and address) in the City of Chicago with a
maximum capacity of 1000 (included) and 1500 (included). Display the results in
ascending order with respect to the ID.
Transcribed Image Text:Display available Hotels (by ID, Name, and address) in the City of Chicago with a maximum capacity of 1000 (included) and 1500 (included). Display the results in ascending order with respect to the ID.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Multiple table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning