On January 21th at 14:15 UTC , progression through exercises will be unavailable for 10 minutes due to a planned maintenance break.
Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Get to know the database
Basic revenue metrics


Great! One more exercise!


For each employee, find their quarter-to-date revenue. Show three columns: EmployeeId, LastName, and TotalRevenue.

Stuck? Here's a hint!

Join the Orders and Employees tables. Use the following condition in the WHERE clause:

OrderDate >= DATEADD(Quarter, DATEDIFF(Quarter, 0, GETDATE()), 0)