SQL列转行(二)

2015-11-21 01:50:00 · 作者: · 浏览: 12
om tb1 ) t order by name , case Subject when ‘语文’ then 1 when ‘数学’ then 2 when ‘物理’ then 3 when ‘平均分’ then 4 when ‘总分’ then 5 end drop table tb1

?