Question: Please complete each query using SQL. Thank you! Q1: Write a query that returns: 1. The total number of invoices 2. The average InvoiceTotal 3.

Please complete each query using SQL. Thank you!

Q1: Write a query that returns: 1. The total number of invoices 2. The average InvoiceTotal 3. The sum of all invoice totals 4. The highest InvoiceTotal 5. The lowest InvoiceTotal Where the invoice date was in February of 2016 Q2: Write a query that returns VendorName and VendorState if the state is CA and "Outside 'CA'" if the vendor is not in CA. 
Q3: List the top 10 Vendors by how much they have paid. Return the VendorName and total payments 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!