Question: 2 . Write a SELECT statement that returns the InvoiceNumber and balance due for every invoice with non-zero balance and an InvoiceDueDate thats less than
2. Write a SELECT statement that returns the InvoiceNumber and balance due for every invoice with non-zero balance and an InvoiceDueDate thats less than 30 days from today.
Here is the result set with 11 rows:
3. Add a column to the query described in exercise 2 that uses the RANK() function to return a column named BalanceRank that ranks the balance due in descending order.
Here is result set with 11 rows:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
