Question: How would you modify the solution to exercise #4 to filter for invoices dated from Decemvber 1,2015 to February 29, 2016 ? Exercise #4 -

How would you modify the solution to exercise #4 to filter for invoices dated from Decemvber 1,2015 to February 29, 2016 ?

Exercise #4 - SELECT [dbo].[GLAccounts].AccountDescription, COUNT(*) LineItemCount, SUM([dbo].[InvoiceLineItems].InvoiceLineItemAmount) AS LineItemSum FROM [dbo].[GLAccounts] JOIN [dbo].[InvoiceLineItems] ON [dbo].[GLAccounts].AccountNo = [dbo].[InvoiceLineItems].AccountNo GROUP BY [dbo].[GLAccounts].AccountDescription HAVING COUNT(*) > 1 ORDER BY LineItemCount DESC;

Please Advise.

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!