Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Get to know the database
Basic revenue metrics
Summary

Instruction

Good job! Let's do one more exercise with DATEADD().

Exercise

The fiscal year in Northwind starts on September 1.

For each customer, show the total revenue from orders placed in the fiscal year starting September 1, 2016. Show three columns: CustomerId, CompanyName, and TotalRevenue.

Use the DATEADD() function.

Stuck? Here's a hint!

Use the following code with DATEADD():

OrderDate < DATEADD(Year, 1, '20160901')