Oracle
 sql >> Database >  >> RDS >> Oracle

Trasponi una riga in molte righe Oracle

Certamente. Fai

select 'Col1' ColName, Col1 Value from srctable union all
select 'Col2', Col2 from srctable union all
select 'Col3', Col3 from srctable union all
select 'Col4', Col4 from srctable