Problem

Consider a database that consists of the following relations.SUPPLIER(Sno, Sname)PART(Pno,...

Consider a database that consists of the following relations.

SUPPLIER(Sno, Sname)

PART(Pno, Pname)

PROJECT(Jno, Jname)

SUPPLY(Sno, Pno, Jno)

The database records information about suppliers, parts, and projects and includes a ternary relationship between suppliers, parts, and projects. This relationship is a many-many-many relationship. Specify and execute the following queries using the RA interpreter.

a. Retrieve the part numbers that are supplied to exactly two projects.


b. Retrieve the names of suppliers who supply more than two parts to project ‘J1’.


c. Retrieve the part numbers that are supplied by every supplier.


d. Retrieve the project names that are supplied by supplier ‘S1 ’ only.


e. Retrieve the names of suppliers who supply at least two different parts each to at least two different projects.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search