Question: Question 3: (20 marks) A- Based on the three tables and the attributes below: (5 marks) Answer the question for Requirement A and write SQL
Question 3: (20 marks) A- Based on the three tables and the attributes below: (5 marks) Answer the question for Requirement A and write SQL commands for Requirements b. Required: a. What are the foreign keys in the Sales table? (1 marks) b. How many sales transactions were made in March, 2017? (4 marks) Inventory InventoryID Name BeverageType Caffeinated Flavored Purchase Price Salesitems 8 InvoiceID InventoryID Quantity Unit Price Sales V InvoicelD InvoiceDate Order Date CustomerID EmployeeID CustomerPo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
