If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
select sum(case month when 1 then value end) as 1,
sum(case month when 2 then value end) as 2,
....
....
sum(case month when 12 then value end) as 12
from table1
HTH
sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.