Professional Documents
Culture Documents
Tugas Database
Tugas Database
Nim : 825230147
No.1
Hasilnya adalah kumpulan nomor hotel (hotelNo) di mana harga kamar (price) lebih dari 50.
Hasilnya adalah gabungan antara tabel Hotel dan tabel Room di mana hotelNo di kedua tabel tersebut
sama.
Hasilnya adalah kumpulan nama hotel (hotelName) di mana harga kamar (price) lebih dari 50 dan
hotelNo di tabel Hotel sama dengan hotelNo di tabel Room.
Hasilnya adalah kumpulan data tamu (Guest) di mana tanggal penghunian (dateTo) lebih besar atau
sama dengan 1-Jan-2019 di dalam tabel Booking.
Hasilnya adalah gabungan antara tabel Hotel dan tabel Room di mana hotelNo di kedua tabel tersebut
sama dan harga kamar (price) lebih dari 50.
No.2
ΠguestName, city(Guest)
(d) List the price and type of all rooms at the Aston Hotel.
(f) List the details of all rooms at the Aston Hotel, including the name of the guest staying in the room, if
the room is occupied.
(g) List the guest details (guestNo, guestName, and guestAddress) of all guests staying at the Aston Hotel.