SQL QUERIES
20- Get project numbers for projects supplied by at least one supplier not in the same city as the project.

. .
21- Get all pairs of part numbers such that some supplier supplies both the indicated parts.

. .
22- Get the total number of projects supplied by supplier S1.

. .
23- (Another Method) Get the total number of projects supplied by supplier S1.

. .
24 Get the total quantity of part P1 supplied by supplier S1.

. .
25- For each part supplied to a project get the part number, the project number, and the corresponding total quantity.

26- Get part numbers of parts supplied to some project in an average quantity of more than 320.

27- (Another Method) Get part numbers of parts supplied to some project in an average quantity of more than 320.

Post a Comment