Секція 2. Розділ 6
single
Challenge: Generating Date Ranges
Свайпніть щоб показати меню
Завдання
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 6
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат