是否是:
Select * from table where ... order by num,datefield

解决方案 »

  1.   

    select * from table where ... order by num,另外的字段1,另外的字段1
      

  2.   

    是这样的意思吗?
    select num from table where ... order by 另外的字段1
      

  3.   

    问题问的不是很清楚。
    如果是孤立的问,查询数据,按照时间排,则是select num from tablename where ..order by 时间字段。
    如果是在按数据大小查询的基础上,相同数据的,按照时间字段来排,那么就是:
    select * from tablename where ... order by num,时间字段。