我有一张表 t_status
form_no | status | date_added
1 | ok | 2013-06-01 15:03:07
2 | ok | 2013-05-29 10:13:27
3 | ng | 2013-05-30 11:09:47
4 | ng | 2013-06-03 08:13:17
date_added 的类型是:日期时间。
现在,当我使用排序时ORDER BY date_added DESC
,它将是这样的:
3 | ng | 2013-05-30 11:09:47
2 | ok | 2013-05-29 10:13:27
1 | ok | 2013-06-01 15:03:07
4 | ng | 2013-06-03 08:13:17
我的问题,如何按 date_add 排序排序,以便输出可以是这样的(从最近的日期到最旧的日期):
4 | ng | 2013-06-03 08:13:17
1 | ok | 2013-06-01 15:03:07
3 | ng | 2013-05-30 11:09:47
2 | ok | 2013-05-29 10:13:27