Sección 2. Capítulo 6
single
Challenge: Generating Date Ranges
Desliza para mostrar el menú
Tarea
Swipe to start coding
Create a recursive CTE that generates all dates between two given dates, inclusive.
- Start with a base case that selects the initial date as
report_date. - Recursively add one day to the previous
report_dateuntil the end date is reached. - The output must include every date from the start date to the end date, inclusive.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 6
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla