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
发布时间: 2012-08-13 13:21:53 作者: rapoo
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