We will create time periods using DATEPART and FORMAT so that we can find the top 2 busiest times per week which will require a RANK function. You will also use a subquery and CTE in this SQL code.
#sql
#sqlinterview
#datascience
#dataanalyst
Learn and Practide SQL coding online at DataCamp, check out my affiliate link:
https://datacamp.pxf.io/KjO5ba