分页中的SQL问题
select * from aaa where id not in (select id from aaa order by id limit 0, 5)请问在MySQL中怎么写嵌套查询呀?
我上面的那个查询为什么不对呀?
如果把上面的查询改为下面的就可以
select * from aaa where id not in ('222','333')
这是为什么呀?
----------------解决方案--------------------------------------------------------
这个论坛太差了,连个响应也没有
----------------解决方案--------------------------------------------------------
这个是SQL语句的语法 ,自己找资料看看.
----------------解决方案--------------------------------------------------------