Instruction
Good job! We'll do one more exercise before we move on.
Exercise
Create a report of the average time to first order (in days) for weekly registration cohorts from 2017 in each registration channel. Show the following columns: Week, ChannelName, and AvgDaysToFirstOrder.
Stuck? Here's a hint!
Use the following piece of code to calculate the average time:
AVG(1.0 * DATEDIFF(Day, RegistrationDate, FirstOrderDate))




