Question: 2. a. Write a SELECT statement that answers this question: Which invoices have a payment total that's greater than the average payment total for all
2.
a. Write a SELECT statement that answers this question: Which invoices have a payment total that's greater than the average payment total for all invoices with a payment total greater than 0?
b. Return the invoice_number and invoice_total columns for each invoice. This should return 20 rows.
c. Sort the results by the invoice_total column in descending order.
can you please solve these a,b,c as it is from the data base systems of computer science.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
