Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Customer cohorts
13. Customer cohort report – exercise


Very well done! Let's do one more exercise.


Create a report to show the weekly counts of registration cohorts in 2017, based on the customer country. Show the following columns: RegistrationWeek, Country, and RegistrationCount. Order the results by week.

Stuck? Here's a hint!

Use the Country column in the Customers table. Filter for the appropriate rows:

WHERE RegistrationDate >= '20170101'
  AND RegistrationDate <  '20180101'