Question: on the relational schema below, write SQL. commands for the following problem. Note that 6. Based at the end of attribute name indicates that the
on the relational schema below, write SQL. commands for the following problem. Note that 6. Based at the end of attribute name indicates that the attribute is a FK. PRODUCT PRICE is a selling price; SUPPLY.S PRICE is a supplying price. Show SQL statements only; no need to show output). PRODUCT (PH, P_NAME, PRICE, QTY) SUPPLY Str, P-S-PRICE) SUPPLIERS sname, City). (a) Find all supplier names and cities who supply expensive chairs, where expensive chairs are those whose selling price is greater than $300. (5) (b) Find all the product numbers whose selling price is greater than that of DRESSER? (5) nd minimum, maximum, and average selling price of products from each supplier. Show also (c) Fin Supplier number and supplier name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
