postgreSQL绝对值

select * from t where flag=1 order by abs(index) desc

posted @ 2016-11-11 14:50  esther-qing  阅读(4596)  评论(0编辑  收藏  举报