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

Conversione di colonne in righe in Oracle

SELECT name
  FROM pivot_test
UNPIVOT ( name FOR origin IN (fname, lname) )

SQL Fiddle