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
![2 marks except last one which is 1 marks, total 7]: 1.](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3c6d003ddf_17566f3c6cf99fde.jpg)

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
Get step-by-step solutions from verified subject matter experts
