Adobe interview question

Sql query on consecutive days