mysql字符串排序问题
阿神
阿神 2017-04-17 15:44:50
0
3
569
阿神
阿神

闭关修行中......

reply all(3)
左手右手慢动作

第一种:select * from qx_cate order by id desc;
第二种:select from qx_cate where id != 16 union all select from qx_cate where id = 16;

巴扎黑
order by cast(replace(path, ',', '') as unsigned integer)

You need to pay attention to the situation when path exceeds the range of int, or find another way

巴扎黑

Because the path is based on Alphabetical Sorting
The main question is Natural Sorting
There are related solutions online, you can find it yourself

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template