Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

ACC 208A Spring 2018: ACC 208A-04

Answered: 1 week ago