將字段*1或者加0 可以變成數(shù)值 例如: 一 select * from table where 1 order by id+0 desc 按id對(duì)應(yīng)的數(shù)值降排 二 select * from table where 1 order by id*1 asc 按id對(duì)應(yīng)的數(shù)值升排 |
|
來(lái)自: 昵稱(chēng)7585456 > 《Mysql》