Question: Given the following relational schema, write queries in SQL to answer the following queries Customer (cid, cname, address, city, state) Product (pid, pname, price, inventory)
Given the following relational schema, write queries in SQL to answer the following queries
Customer (cid, cname, address, city, state)
Product (pid, pname, price, inventory) Shipment(sid, cid, shipdate)
Shipped Product(sid, pid, amount)
i. Return the products (name whose name contains 'Rahim' with a price more than the average price.
ii) Find shipping date, the number of shipments to customers with first name Scott.
urgent
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
