关于列名问题
StudentMarks
Name, Maths, Science, English
Name, Maths, Science, English Tilak, 90, 40, 60 Raj, 30, 20, 10
Name, Subject, Marks Tilak, Maths, 90Tilak, Science, 40Tilak, English, 60
Subject
select Name, Marks from studentmarksUnpivot( Marks for details in (Maths, Science, English)) as UnPvt
芜湖不芜
莫回无
相关分类