SELECT id, col,LENGTH(col) FROM d ORDER BY LENGTH(col) ASC, col ASC
或者
SELECT id,col FROM d ORDER BY CAST(TRIM('中文' FROM col) AS SIGNED)
根据实际情况看吧
Copyright © 广州京杭网络科技有限公司 2005-2024 版权所有 粤ICP备16019765号