Question: Considering the tables Supplier (sid, name, address) Supplies (sid, pid) Parts (pid, partname, color) Assume that the part identification is done by a single
Considering the tables Supplier (sid, name, address) Supplies (sid, pid) Parts (pid, partname, color) Assume that the part identification is done by a single letter: Q, X, Z, or ? (your initial here). For example, someone could say they just bought part Q and part X. REMEMBER TO REPLACE QUESTION MARKS BY YOUR INITIAL, WRONG INITIALS OR QUESTION MARKS IN THE ANSWER WILL INVALIDATE THE ANSWER. Write the SQL query for: a) Find the total number of suppliers for part ids (?) and X b) Find out if "IBM" supplies part (?) c) Find the name of the suppliers that do not supply "computers" d) Find the color of part number (?)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
