0

我有一个存储过程,它返回这样的数据

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
4

1 回答 1

0

正如上面 Marc B 所建议的那样

ORDER BY AssessmentLinkID, ReportLabelID

为我做了诀窍谢谢

于 2012-09-24T05:51:13.347 回答