|
SQL query to print numbers from dual without using union

Select rownum from (select 1 from dual group by cube(1,1,1,1)) where rownum<10;

Excerpt from Asktom

0 comments: