示例:
Roll_Number | Class | Subject | Marks | DOB
------------+-----------+---------------+-----------+------------
1 | 11 | Chemistry | 50 | 14-05-96
2 | 12 | Physics | 62 | 15-02-93
应该是
Class | DOB | Marks | Roll_Number | Subject
--------+---------------+-----------+---------------+--------------
11 | 14-05-96 | 50 | 1 | Chemistry
12 | 15-02-93 | 62 | 2 | Physics
答案 0 :(得分:1)
如果希望以特定方式对列进行排序,只需按照您希望的方式在SELECT语句中列出它们,例如,
SELECT [Class], [DOB], [Marks], ... FROM [table]