Question
Please answer to the below two questions using relational algebra with commands such as Select, Project, Join, etc. I do not want you to use
Please answer to the below two questions using relational algebra with commands such as Select, Project, Join, etc. I do not want you to use SQL. Thanks!
Rental Database
Branch (Bno, Street, Area, City, Pcode, Tel_No, Fax_No)
Staff (Sno, FName, LName, Address, Tel_No, Position, Sex, DOB, Salary, NIN, Bno)
Property (Pno, Street, Area, City, Pcode, Type, Rooms, Rent, Ono, Sno, Bno)
Renter (Rno, Fname, Lname, Address, Tel_No, Pref_Type, Max_Rent)
Owner (Ono, Fname, LName, Address, Tel_No)
Viewing (Rno, Sno, Pno, Date, Comment)
1. A renter viewing list (Rno, Fname, Lname) of renters who have not looked a property for rent with 4 bedrooms.
2. A report of number of property managed by each staff that contains (Sno, FName, LName, number of property managed)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started