160415、sql语句sort排序,sort为空的在后面

按sort排序,sort为空的在后面
select * from 表名  order by (case when sort is null or sort='' then 1 else 0 end),sort
posted @ 2016-04-15 17:22  目标奔雷手  阅读(1435)  评论(0编辑  收藏  举报