1、升序排列

create index ix_table1 on table1 (column1,column2);

select column1,column2 from table1 order by column1,column2;

2、降序排列

create index ix_table1 on table1 (column1 desc,column2);

select column1,column2 from table1 order by column1 desc,column2;

05-11 22:27