Question: Need help with 3.2 DATA TYPE Product ( pid , pname, type, manufacturer, price) Buys ( cid, pid ,quantity) Customer ( cid , cname, age,

 Need help with 3.2 DATA TYPE Product(pid, pname, type, manufacturer, price)

Need help with 3.2

DATA TYPE

Product(pid, pname, type, manufacturer, price)

Buys(cid, pid,quantity)

Customer(cid, cname, age, gender)

ANSWER THE FOLLOWING

3.2) (5 Points) Answer parts 3.2.1) and 3.2.2) based on the following SQL query,

SELECT P.manufacturer

FROM Product P, Buys B

WHERE P.pid=B.pid and P.pname=Stuffed Puppy Dog and B.quantity

3.2.1) (2 Points) Write an English sentence to explain the output of the query.

3.2.2) (3 Points) Write the relational algebra expression that is equivalent to the given SQL query

W R 6- FILE HOME INSERIDESIGN PAGE LAYOUT REFERENCES MAILINGS REVIEW VIEW X Cut Times New Rx - 11 A A A A E-3-'7 19 AND CL- 32)(5 Pinli) Antwerpetta 1.2.1) el 3.22und Usiles ulku ing SQL query. EEELF ulinal), EREN VAULT, Buya S 1. 4 = ! = h 12.1)(2Peista) Wribe az English work to explain tax ratput of the query. 12.398 PainesWrite the rebutiseul algutes agresion that is uquivalent to the given SQL query PASE 4 OF 1221 WUHLS ENG. SH UNITED STATES E : 0 Type here to search o 9 O A "MAN 8:13 I'M * A & 1 4) A ENG - 2/8/2018 10

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!