为什么SQL数据库中的记录读出来的顺序不一样。

为什么SQL数据库中的记录读出来的顺序不一样。
---------------------------------------------------------------

因为SQL中的数据在不排序的情况下是随机取出的
所以你应该先排序。
select * from table order by id

Published At
Categories with Web编程
comments powered by Disqus