In: Computer Science
Use tuple relational calculus for the following problems
Relational Model
Motel(mID, mName, city)
Guest(gNum, gName, gAddress)
Room(mID, roomNum, price)
Books(gId, mId, roomNum, startDate, endDate)
1.
a)Select motels with at least 1 room with price > $500.
b) Select the motel that has the most inexpensive room.
c) Select guests who've booked a room in every motel.
Thank you. Please give an upvote. If any queries or changes needed please comment will respond ASAP!!!!