如何在MS Access中对列标题进行排序超过30列

时间:2015-05-11 07:43:38

标签: ms-access

示例:

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

1 个答案:

答案 0 :(得分:1)

如果希望以特定方式对列进行排序,只需按照您希望的方式在SELECT语句中列出它们,例如,

SELECT [Class], [DOB], [Marks], ... FROM [table]