Computer Science, asked by spsavanpatidar, 1 month ago

consider the following table. supplier(sid,sname,address) formulate the query in sql ​

Answers

Answered by devidkumar86
0

Answer:

1. Find the pnames of parts for which there is some supplier.

2. Find the snames of suppliers who supply every part.

3. Find the snames of suppliers who supply every red part.

4. Find the pnames of parts supplied by "Awesome" Suppliers and no one else.

5. Find the sids of suppliers who charge more for some part than the average cost of that part (averaged over all the suppliers who supply that part).

6. For each part, find the sname of the supplier who charges the most for that part.

7. Find the sids of suppliers who supply only red parts.

8. Find the sids of suppliers who supply a red part and a green part.

9. Find the sids of suppliers who supply a red part or a green part.

10. For every supplier that only supplies green parts, print the name of the supplier and the total number of parts that she supplies.

Explanation:

Similar questions