This version of MySQL doesn't yet support 'LIMI...解决_MySQL
程序员文章站
2022-06-03 10:39:05
...
bitsCN.com
bitsCN.com
This version of MySQL doesn't yet support 'LIMI...解决
This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'的意思是,这版本的 MySQL 不支持使用 LIMIT 子句的
IN/ALL/ANY/SOME 子查询,即是支持非 IN/ALL/ANY/SOME 子查询的 LIMIT 子查询。
也就是说,这样的语句是不能正确执行的。
select * from table where id in (select id from table limit 10)
但是,只要你再来一层就行。。如:
select * from table where id in (select t.id from (select * from table limit 10)as t)
bitsCN.com
推荐阅读
-
MySQL添加用户错误:ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value解决方法
-
MySQL部署时提示Table mysql.plugin doesn’t exist的解决方法
-
linux上的mysql报Table 'xxx' doesn't exist的错误解决方法_MySQL
-
This version of MySQL doesn't yet support 'LIMI...解决_MySQL
-
This version of MySQL doesn't yet support 'L
-
MySql报错Table mysql.plugin doesn't exist的解决方法
-
MySQL添加用户错误:ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value解决方法
-
MySql报错Table mysql.plugin doesn’t exist的解决方法_MySQL
-
MySQL之Field‘***’doesn’t have a default value错误解决办法
-
MySQL之Field‘***’doesn’t have a default value错误解决办法_MySQL