问题:
不支持使用 LIMIT 子句的 IN/ALL/ANY/SOME 子查询,即是支持非 IN/ALL/ANY/SOME 子查询的 LIMIT 子查询。
解决:
将语句:select * from table where id in (select id from table limit 0,10)
变更为:select * from table where id in (select t.id from (select * from table limit 0,10)as t)
问题:
不支持使用 LIMIT 子句的 IN/ALL/ANY/SOME 子查询,即是支持非 IN/ALL/ANY/SOME 子查询的 LIMIT 子查询。
解决:
将语句:select * from table where id in (select id from table limit 0,10)
变更为:select * from table where id in (select t.id from (select * from table limit 0,10)as t)