当前位置:网站首页>MySQL does not take effect in sorting string types

MySQL does not take effect in sorting string types

2022-07-05 09:23:00 I don't want to be bald

 Use order by ( String field ) ASC/DESC  Sort not effective .
 The result of the display is 1,10,11...  Is not  1,2,3...
 resolvent :
 Convert the field type of the query : cast( String field  as signed)
原网站

版权声明
本文为[I don't want to be bald]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/186/202207050922314533.html