SELECT count(*) FROM `tablename`
WHERE ((listingstatus =”Active”) AND (`tablename`.`selleruserid` = “zhangsan”)) order by itemid asc
count(*)
63
SELECT * FROM `tablename`
WHERE ((listingstatus =”Active”) AND (`tablename`.`selleruserid` = “zhangsan”)) order by itemid asc
WHERE ((listingstatus =”Active”) AND (`tablename`.`selleruserid` = “zhangsan”)) order by itemid asc
count(*)
63
SELECT * FROM `tablename`
WHERE ((listingstatus =”Active”) AND (`tablename`.`selleruserid` = “zhangsan”)) order by itemid asc
共66行
讨教一下可能是什么原因造成了此差异
解决方案
5
本人觉得是由于在2次查询的间隔时间内,表里插入了新的数据了。
5
是数据库变化了吧
你反复多执行几次看看額
你反复多执行几次看看額
5
还有这事,?
5
数据又不多,导出来比对下不就行了