暂无图片
MogDB 使用WITH RECURSIVE后不能接limit子句
我来答
分享
章芋文
2022-06-20
MogDB 使用WITH RECURSIVE后不能接limit子句
MogDB=>select id from cs_know order by created_time desc limit 5; id ------- 316 318 319 317 315 (5 rows) MogDB=>WITH RECURSIVE cs as (select id,title,created_time from cs_know where id>100000) select id from cs order by created_time desc limit 5; ERROR: syntax error at or near "" LINE 2: select id from cs order by created_time desc limit 5; ^ MogDB=#
我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
DarkAthena

怀疑是其他问题引起的,我用mogdb测试,在版本2.1.1和3.0.0上均无报错
image.png

暂无图片 评论
暂无图片 有用 0
DarkAthena
答主
2022-06-20
在3.0.0 beta1版本上有这个问题
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏