3) For the following Schema: CUSTOMER(CustomerID, CustName, CustEmail, CustAddress, CustCity, CustState, CustZip, CustPhone) SALE(EventID, CustomerID, Quantity) EVENT(EventID,
Question:
3) For the following Schema: CUSTOMER(CustomerID, CustName, CustEmail, CustAddress, CustCity, CustState, CustZip, CustPhone) SALE(EventID, CustomerID, Quantity) EVENT(EventID, EventDate, EventTime, Show, SeatingCapacity, Price)
3.1 Write a query that will print the customer name, email, EventDate, EventTime, and quantity for all sales.
3.2 What is the query that will print the EventIDs for all events that either occur in October 2008 and cost less than $20, or occur in November 2008 and cost less than $30.
3.3 What is the query that will print the name and average price of all shows
3.4 What is the query that will print the name and average price of all shows. Only include shows where the average price is greater than $10.
Accounting Information Systems
ISBN: 978-0133428537
13th edition
Authors: Marshall B. Romney, Paul J. Steinbart