postgreSQL绝对值

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

原文地址:https://www.cnblogs.com/esther-qing/p/6054262.html