可能 count(id) 有相同的计数值?每次order by顺序不一致?
不要轻易用count来排序
order by 一的值一样,会随机。
可以order by多个字段,排序稳定点
![](https://img.haomeiwen.com/i2622710/e9ccc9603b044b15.png)
可能 count(id) 有相同的计数值?每次order by顺序不一致?
不要轻易用count来排序
order by 一的值一样,会随机。
可以order by多个字段,排序稳定点
本文标题:mysql order by count(*) 同值 翻页问题
本文链接:https://www.haomeiwen.com/subject/wryxedtx.html
网友评论