Question: Write SQL statements for those queries; using attached S-SP-P relations [each 2 marks except last one which is 1 marks, total 7]: 1. Insert a

 Write SQL statements for those queries; using attached S-SP-P relations [each
2 marks except last one which is 1 marks, total 7]: 1.
Insert a new row in the parts (P) table PART\# =P7 part

Write SQL statements for those queries; using attached S-SP-P relations [each 2 marks except last one which is 1 marks, total 7]: 1. Insert a new row in the parts (P) table PART\# =P7 part name = NUT part colour = blue part weight =15 part stored in Berlin 2. Get all the information in P table [ 1 marks] 3. Get part names for parts stored in "Berlin" 4. List part numbers stored in unknown location . Tables (S-SP-P) Supplier (S) \begin{tabular}{|l|l|l|} \hline S\# & P\# & Qty \\ \hline S1 & P1 & 300 \\ \hline S1 & P2 & 200 \\ \hline S1 & P3 & 400 \\ \hline S1 & P4 & 200 \\ \hline S1 & P5 & 100 \\ \hline S1 & P6 & 100 \\ \hline S2 & P1 & 300 \\ \hline S2 & P2 & 400 \\ \hline S3 & P2 & 200 \\ \hline S4 & P2 & 200 \\ \hline S4 & P4 & 300 \\ \hline S4 & P5 & 400 \\ \hline SP & & \\ \hline \end{tabular} Parts (P)

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!