select t.no,
case
when t.no >= 1 then
1 || '*' || t.no || '=' || 1 * t.no
else
''
end a,
case
when t.no >= 2 then
2 || '*' || t.no || '=' || 2 * t.no
else
''
end b,
case
when t.no >= 3 then
3 || '*' || t.no || '=' || 3 * t.no
else
''
end c,
case
when t.no >= 4 then
4 || '*' || t.no || '=' || 4 * t.no
else
''
end d,
case
when t.no >= 5 then
5 || '*' || t.no || '=' || 5 * t.no
else
''
end e,
case
when t.no >= 6 then
6 || '*' || t.no || '=' || 6 * t.no
else
''
end f,
case
when t.no >= 7 then
7 || '*' || t.no || '=' || 7 * t.no
else
''
end g,
case
when t.no >= 8 then
8 || '*' || t.no || '=' || 8 * t.no
else
''
end h,
case
when t.no >= 9 then
9 || '*' || t.no || '=' || 9 * t.no
else
''
end j
from (select LEVEL as no from dual CONNECT BY LEVEL < 10) t;