sql语句 中把varchar类型转换成int

// sql语句 中把varchar类型转换成int
 select * from tableName order by cast(result as SIGNED INTEGER) asc;

 

posted @ 2018-02-05 16:23  Anetye  阅读(6422)  评论(0编辑  收藏  举报