List the rooms that are currently unoccupied at the Grosvenor Hotel.

What will be an ideal response?


SELECT * FROM Room r
WHERE roomNo NOT IN
(SELECT roomNo FROM Booking b, Hotel h
WHERE (dateFrom <= CURRENT_DATE AND
dateTo >= CURRENT_DATE) AND
b.hotelNo = h.hotelNo AND hotelName = ‘Grosvenor Hotel’);

Computer Science & Information Technology

You might also like to view...

Motion, like transitions and animations, along with multimedia elements, such as audio and video, can enhance presentations

Indicate whether the statement is true or false

Computer Science & Information Technology

A variable that will be used to contain only nondecimal whole numbers should be declared as a(n) ____ data type.

A. Decimal B. Double C. Integer D. Single

Computer Science & Information Technology

A port may be ____.

A. ?open B. ?closed C. ?stealth D. ?any of the above

Computer Science & Information Technology

What is a functional decomposition diagram (FDD) and why would you use one? Explain how to create an FDD.

What will be an ideal response?

Computer Science & Information Technology