select * from table order by id desc;<br><font color="#e78608">------解决方案--------------------</font><br>
------解决方案-------------------- 有一种操作可以重现你的效果
myisam表 插入数据,然后删除id较小的,这时候表会出现碎片,接着插入数据
select * FROM …… 就会导致这种顺序
如果删除了数据,OPTIMIZE 表 就不会这样啦
我猜测这种情况可能跟物理位置有关
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn