Oracle
 sql >> Datenbank >  >> RDS >> Oracle

sql selectL Zeilen zu Spalten ohne Unterabfrage

versuchen Sie dies..

select case CODIGO when 190 then INFO end AS INFO_190,
case CODIGO when 130 then INFO end AS INFO_130,
case CODIGO when 140 then INFO end AS INFO_140
from t_test where grupo = 'VTOS'