MySQL 字符串按数值进行排序

方法一:

select * from 表名 where dict_value = #{dictValue} order by 字段*1 asc

方法二:

select * from 表名 where dict_value = #{dictValue} order by 字段+0 asc

原文地址:https://www.cnblogs.com/shoose/p/7744674.html