Create a view containing the account for each guest at the Grosvenor Hotel.

What will be an ideal response?

CREATE VIEW BookingOutToday
AS SELECT g.guestNo,g.guestName,g.guestAddress,r.price*(b.dateTo-b.dateFrom)
FROM Guest g, Booking b, Hotel h, Room r
WHERE g.guestNo = b.guestNo AND r.roomNo = b.roomNo AND
b.hotelNo = h.hotelNo AND h.hotelName = ‘Grosvenor Hotel’ AND
b.dateTo = CURRENT_DATE;

Computer Science & Information Technology

You might also like to view...

Which of the following is not a method provided by an array?

a) Sort b) Copy c) BinarySearch d) Reverse e) None of the above

Computer Science & Information Technology

Pressing [Alt] (Win) or [option] (Mac) and clicking the Eye icon a second time shows all layers including the one whose Eye icon you just clicked.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology