Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

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) oo 00 Inventory Y InventoryID Name BeverageType Caffeinated Flavored Purchase Price Salesitems InvoiceID * InventoryID Quantity UnitPrice Sales * InvoiceID Invoice Date Order Date CustomerID EmployeeID CustomerPO

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Accounting Ethics Education Making Ethics Real

Authors: Alberto J. Costa, Margarida M. Pinheiro

1st Edition

1032019999, 9781032019994

More Books

Students also viewed these Accounting questions

Question

Convert integer to an alphabet letter in c + +

Answered: 1 week ago