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

Instruction

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

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'