首页
IT
登录
6mi
u
盘
搜
搜 索
IT
对于mysql中字符串的排序
对于mysql中字符串的排序
xiaoxiao
2021-12-14
20
一个varchar 的字段 存放 1,2 11等 将字段*1或者+0可以将MySQL字符串字段按数值排序 select * from table where 1 order by id+0 desc; select * from table where 1 order by id*1 desc;
转载请注明原文地址: https://ju.6miu.com/read-965263.html
专利
最新回复
(
0
)