Question: Consider the following database schema: Customer ( cid , cname, phone, age) Order ( oid , date, total_price, cid, sid) Order_item ( coid , oid
Consider the following database schema:
Customer (cid, cname, phone, age) Order (oid, date, total_price, cid, sid) Order_item (coid, oid, quota) Inventory (coid, coname, amount, price, sid) Shop (sid, sname, revenue) Membership (cid, sid, date, type)
Primary key attributes are underlined. Note that coid is a unique id for commodities in the inventory and in an order.
Answer the following questions using QBE. Draw tables in your answer.
1. Find the name of the customers who bought macbook on 01/02/2015 from shop Apple Store.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
