Computers and Technology

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.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 13:00, Racc
What converts chemical energy into rotational or linear motion?
Answers: 1
image
Computers and Technology, 22.06.2019 21:00, raquelle66
So im doing this school challenge and the teachers said whats the average text a student gets a day so i need to get about 20 in a day but dont know how can you guys 2163371293
Answers: 2
image
Computers and Technology, 23.06.2019 16:00, AM28
Does read theory have answers keys ?
Answers: 1
image
Computers and Technology, 23.06.2019 17:30, granta1
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
Answers: 1
Do you know the correct answer?
Consider the following schema:

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

Questions in other subjects:

Konu
Social Studies, 06.04.2020 01:57
Konu
Chemistry, 06.04.2020 01:57
Konu
Mathematics, 06.04.2020 01:57
Konu
Mathematics, 06.04.2020 01:57