Question: Given a relational database schema and the current instances for the relations in this database: Product (plos: Int, plaves: string, pentegorye string, pprices double, pensntitys

 Given a relational database schema and the current instances for the
relations in this database: Product (plos: Int, plaves: string, pentegorye string, pprices

Given a relational database schema and the current instances for the relations in this database: Product (plos: Int, plaves: string, pentegorye string, pprices double, pensntitys int) sale (alle, int, pllas int, counntityt int, arriont double) Please write Relational Algebra queries and provide corresponding results for the following requirements (using the given schemas and instances): \#Question 6. List all the names (unique set from pXame attribute) of the products a. Relational Algebra expression (7 pt.) b. Resulted Relation ( 3 pt.) \#Question 7. List all the name(s) (p)ame) and price(s) (pRrices) of the product(s) that belong to Phone category: a. Relational Algebra expression (7 pt.) b. Resulted Relation (3 pt.) Question 8. Lst the sale numbers (s):o), product names (p)ame), categories (DCategory), sale quantities (souant ityz), and sold prices (sRxice) for all the items in the Sale relation: a. Relational Algebra expression (7 pt.) \# Question 9. List the sale numbers (sko), product names (p)ame), sale quantities (sQuantitsy), and sold prices (sPFice) for all the items in the Sale relation that belong to the Phone category: a. Relational Algebra expression (7 pt.) b. Resulted Relation ( 3 pt.) \# Question 10. List all the product number(s) (pNo) of the product(s) that have never been sold (in Product but not in Sale): a. Relational Algebra expression (7 pt.) b. Resulted Relation ( 3 pt.)

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!