Domanda di colloquio di Amazon

Advanced SQL- consecutive numbers, segregating absent and present dates