Question: Give Tutorial d formulations for the following updates to the suppliers-parts-projects data-base; (a) Insert a new shipment with supplier number S1, part number P1, project

Give Tutorial d formulations for the following updates to the suppliers-parts-projects data-base;
(a) Insert a new shipment with supplier number S1, part number P1, project number J2, quantity 500.
(b) Insert a new supplier S10 into table s (the name and city are Smith and New York, respectively; the status is not yet known).
(c) Delete all blue parts.
(d) Delete all projects for which there are no shipments.
(e) Change the color of all red parts to orange.
(f) Replace all appearances of supplier number S1 by appearances of supplier number S9 instead.

Step by Step Solution

3.38 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a INSERT SPJ RELATION TUPLE S SS1 P PP1 J JJ2 QTY500 b INSERT S RELATION TUPL... View full answer

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

Document Format (1 attachment)

Word file Icon

CS-DB (48).docx

120 KBs Word File

Students Have Also Explored These Related Databases Questions!