首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

sql兑现日期降序,时间升序

2012-08-13 
sql实现日期降序,时间升序SELECTtype,create_date,substr(create_date,1,10) as d,substr(create_date,12)

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

热点排行