mysql语句的一些记录

将字符串字段转化成数字排序:select * from cmacgrade order by cast(gradecode as signed int) desc;

此条目发表在DataBase分类目录,贴了标签。将固定链接加入收藏夹。

发表评论