開(kāi)通VIP,暢享免費(fèi)電子書(shū)等14項(xiàng)超值服
首頁(yè)
好書(shū)
留言交流
下載APP
聯(lián)系客服
2011.09.09
將字段*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ù)值升排
微信登錄中...請(qǐng)勿關(guān)閉此頁(yè)面