我有一个存储过程,它返回这样的数据
ReportLabelID AssessmentLinkId
TextBox7 10207
RadioButton2 10207
TextArea2 10207
FullName5 10207
FullName5 10211
RadioButton2 10211
TextArea2 10211
TextBox7 10211
我想要的是按字母顺序将返回数据与他们的AssessmentLinkId按顺序排序
ReportLabelID AssessmentLinkId
FullName5 10207
RadioButton2 10207
TextArea2 10207
TextBox7 10207
FullName5 10211
RadioButton2 10211
TextArea2 10211
TextBox7 10211
答案 0 :(得分:0)
正如上面Marc B所建议的
ORDER BY AssessmentLinkID, ReportLabelID
为我做了诀窍谢谢