设为首页 加入收藏

TOP

This version of MySQL doesn't yet support 'LIMI...解决
2015-07-24 10:28:04 来源: 作者: 【 】 浏览:1
Tags:This version MySQL doesn' yet support ' LIMI... 解决
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)

?


】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇WampServer下修改和重置MySQL密码 下一篇(14)mysql中的事件

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·求navicat for mysql (2025-12-26 13:21:33)
·有哪位大哥推荐一下m (2025-12-26 13:21:30)
·MySQL下载与安装教程 (2025-12-26 13:21:26)
·Linux_百度百科 (2025-12-26 12:51:52)
·Shell 流程控制 | 菜 (2025-12-26 12:51:49)