RosettaCodeData/Task/Loops-For-with-a-specified-step/DuckDB/loops-for-with-a-specified-step-2.duckdb
2025-08-11 18:05:26 -07:00

8 lines
182 B
Text

with recursive cte as (
select 2 as i
union all
select i+2 -- increment by 2
from cte
where i < 8)
select format('whom do we appreciate? {:d}', i)
from cte;