20 likes | 147 Vues
This task involves creating relational algebra and tuple-relational calculus commands based on specific requirements for a hotel database. We need to list all hotels, single rooms priced under $20, guest names and hotel cities, room prices and types for Grosvenor Hotel, and all guests who have stayed at Grosvenor Hotel. The database structure includes several tables: Hotel (hotel# | hotel.name | city), Room (room# | hotel# | type | price), Booking (hotel# | guest# | dateFrom | dateTo | room#), and Guest (guest# | guest.name | guest.address).
E N D
Tugas-07 Buatlah perintah relational algebra, tuple-relational calculus untuk di bawah ini : List seluruh hotel List seluruh single-room dng tarip < $20 List nama dan kota tamu-hotel List harga dan tipe semua kamar di Grsvenor Hotel List semua tamu yang pernah menginap di Grsvenor Hotel
Keterangan tabel Tugas 07: • Gunakan tabel di bawah ini (hal. 87) Hotel (hotel#, hotel name, city) Room ( room#, hotel#, type,price) Booking(hotel#, guest#, dateFrom, dateTo, room#) Guest(guest#, guest name, guest address),