有如下数据表:
Table: [student]
ID     Name    Score
1      chris   100
2      linda   80
3      jack    90
4      andy    80
5      harry   70现在用SELECT语句进行查询:
select * from student where score>70 order by ID asc;
结果如下:
1      chris   100
2      linda   80
3      jack    90
4      andy    80
如果要求有所变化,还要对结果集进行二次排序,以score为索引:
那么语句写成select * from student where score>70 order by ID asc,score asc
如果仍然是
1      chris   100
2      linda   80
3      jack    90
4      andy    80
而我想要的结果是
1      chris   100
3      jack    90
2      linda   80
4      andy    80
请问SQL语句该如何写???