纵表转横表 create table Score ( Name ), Class ), score int ) ) ) ) ) ) ) ) select * from Score select t.Name, end) as 语文, end) as 数学, end) as 物理, end) as 外语, end) as 政治, end) as 体育 from Score as t group by t.Name 横表转纵表 -- 转换的表插入新表 select t.Name, end) as 语…