Pergunta de entrevista da empresa Virgin Media

Using SQL and date ranges figure out how many events happened in specific time periods