1 / 2

Relational Algebra and Tuple-Relational Calculus Queries for Hotel Database

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).

Télécharger la présentation

Relational Algebra and Tuple-Relational Calculus Queries for Hotel Database

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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

  2. 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),

More Related