`
jiajunde
  • 浏览: 166431 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

SQL置顶

SQL 
阅读更多


select * from test order by case when to_char(time,'yyyy-mm-dd hh24:mi:ss')='1977-01-01 00:00:00' then 0 else 1 end asc,test.time asc

 

then 0 else 1end排序

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics