Required to give the relational algebra, tuple relational calculus, and domain relational calculus expressions
BP 10140 somework pdi Homework 1 The following tables form part of a database held in a relational DRME Hotel (hotela hotelName.city] Room (roomNo, hotele, type.price) Booking hotel Nogues.No dateFrom_dateTo room.Ne) Guest guest.No guestName, guestAddress) where Hotel contains hotel details and hotel is the primary key Room contains room details for each hotel and (roon No, hoteNe) forms the primary key Booking contains details of bookings and hotelagoste daterom) forms the primary kery Guest contains guest details and guest No is the primary key Generate the relational algebra, tuple relational calcules, and domain relational calculus expressions for the following queries 1. List all hotels 2 List all single rooms with a price below $100 per night 3. List the names and cities of all guests 4. List the price and type of all rooms at the Grosvenor Hotel 5. List the details of all rooms at the Green Hotel including the name of the guest staying in the room, if the room is occupied 6. List the guest details (gosti gostima questAddress of all guests staying at the Grosvenor Hotel Homework 1 The following tables form part of a database held in a relational DBMS: Hotel (hotelNo, hotelName, city) Room (roomNo hotelNo, type, price) Booking (hotelNo, guestNo. dateFrom dateTo, roomNo) Guest (guestNo. guestName, guestAddress) where Hotel contains hotel details and hotelNo is the primary key; Room contains room details for each hotel and (roomNo, hotelNo) forms the primary key; Booking contains details of bookings and (hotelNo, guestNo, dateFrom) forms the primary key; Guest contains guest details and guest No is the primary key. Generate the relational algebra, tuple relational calculus, and domain relational calculus expressions for the following queries: 1. List all hotels. 2. List all single rooms with a price below $100 per night. 3. List the names and cities of all guests. 4. List the price and type of all rooms at the Grosvenor Hotel. 5. List the details of all rooms at the Grosvenor Hotel, including the name of the guest staying in the room, if the room is occupied. 6. List the guest details (guestNo, guest Name, and guestAddress) of all guests staying at the Grosvenor Hotel