subject

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 )

The Catalog relation lists the prices charged for parts by Suppliers.

Write the following queries in SQL.

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 sids of suppliers who supply only red parts.

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

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:30
The graph shows median weekly earnings for full-time workers according to education level. which can you not conclude?
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
What is the penalty for violating section 1201 of title 17 chapter 21 of the us code
Answers: 1
question
Computers and Technology, 23.06.2019 20:40
On nba 2k 19, every time i try to join a my park game, it leads ro a website telling my dad that he needs ps plus. i already have ps plus though. how do i fix this?
Answers: 2
question
Computers and Technology, 23.06.2019 21:00
Which set of steps will organize the data to only show foods with more than 100 calories and rank their sugar content from greatest to least?
Answers: 1
You know the right answer?
Consider the following schema:

Suppliers ( sid: integer, sname: string, address: string...
Questions
question
English, 04.03.2020 07:11
question
Mathematics, 04.03.2020 07:11
question
Mathematics, 04.03.2020 07:11
question
Mathematics, 04.03.2020 07:12
question
Geography, 04.03.2020 07:12
question
Social Studies, 04.03.2020 07:12
question
English, 04.03.2020 07:12
question
Biology, 04.03.2020 07:12
Questions on the website: 13722363