SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
with s (d1,d2) as (select to_date('01.01.2024'), to_date('08.01.2024'), from dual), r (n) as (select 0 from dual union all select n+1 from r where n+1<=(select greatest(d1,d2)-least(d1,d2) from s)) select (select least(d1,d2) from s)+ n d from r

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear