Question: B- Based on the three tables and the attributes below: (8 marks) Answer the question for Requirement A and write SQL commands for Requirements b.
B- Based on the three tables and the attributes below: (8 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? (2 marks) b. How many sales transactions were made in March, 2017? (6 marks) Inventory V Inventory Name BeverageType Caffeinated Flavored Purchase Price Salesitems InvoiceID InventoryID Quantity Unit Price Sales InvoiceID InvoiceDate Order Date Customer EmployeeID Customer PO B- Based on the three tables and the attributes below: (8 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? (2 marks) b. How many sales transactions were made in March, 2017? (6 marks) Inventory V Inventory Name BeverageType Caffeinated Flavored Purchase Price Salesitems InvoiceID InventoryID Quantity Unit Price Sales InvoiceID InvoiceDate Order Date Customer EmployeeID Customer PO
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
