Question: Specify relational algebra equations that would perform the given queries on the following schema. You may use intermediate relations to make your work clearer. Proper

Specify relational algebra equations that would perform the given queries on the following schema.

You may use intermediate relations to make your work clearer. Proper notation should

be used. (You can insert special characters with Character Viewer on Mac or Character Map on Windows).

1) Find the business name of all contractors who have worked at least 10 hours for a customer in the 95819 zip code.

2) Find the first and last names of all customers who have between 100 and 1000 rewards points.

3) Find the names of all paint colors that have not been used in a room.

4) Find the business name, discount, and phone number of all contractors who have worked at least 1 hour for customers with the last name of Valdez.

5) Find the first and last names of all customers who have used a paint color named Blushing Pink in a room named Bedroom 1

Specify relational algebra equations that would perform the given queries on the

REWARDS CUSTOMER_PHONE rid points cust_id cust id phone CUSTOMER cust_idstreetcity statezip HIRE ROOM cust id bus_namehours name cust id CONTRACTOR PAINTED bus_name discount rm_name cfaid color id CONTRACTOR_PHONE PAINT_COLOR bus name phone mfa id color id name

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!