原始数据: 期望数据: IF OBJECT_ID('temp_20170701','u') IS NOT NULL DROP TABLE temp_20170701 CREATE TABLE temp_20170701 ( ID ,), NAME ), Subjectname ), Score INT ) INSERT dbo.temp_20170701( Name, subjectname, Score ) ' UNION ' UNION ' UNION ' UNION ' UNION ' U…