sql实现日期降序,时间升序的方法

2014-11-24 08:38:50 · 作者: · 浏览: 1

sql实现日期降序,时间升序的方法
SELECT
type,
create_date,
substr(create_date,1,10) as d,
substr(create_date,12) as t
FROM
history_received_message order by d desc,t asc
作者 ffyhappy