Search for question
Question

Exercise: Consider the following schema:

Suppliers(sid: integer, sname: string, address: string)

Parts(pid: integer pname: string, color: string)

Catalog(sid: integer, pid: integer, cost: real)

1. Find the names of suppliers who supply some red part.

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

3. Find the sids of suppliers who supply some red part or are at Packer Str.

4. Find the sids of suppliers who supply some red part and some green part.

5. Find pairs of sids such that the supplier with the first sid charges more for some part than the supplier with the second sid.

6. Find the pids of parts supplied by at least two different suppliers.

7. Find the pids of the most expensive parts supplied by suppliers named Yosemite.