转载:http://blog.sina.com.cn/s/blog_43eb83b90102dx39.html
select * from table where id in (select t.id from (select * from table limit 12)as t)
这样就可以绕开limit子查询的问题。
转载:http://blog.sina.com.cn/s/blog_43eb83b90102dx39.html
select * from table where id in (select t.id from (select * from table limit 12)as t)
这样就可以绕开limit子查询的问题。