oracle
select * from table2 pivot(max(value) as attr for(attr) in('age' as age,'sex' as sex));
显示前:
显示后: