找回密码
 立即注册

QQ登录

只需一步,快速开始

hejin8288
初级会员   /  发表于:2024-10-7 23:15  /   查看:4  /  回复:0
1金币
本帖最后由 hejin8288 于 2024-10-7 23:23 编辑

这句SQL语句:select * from tableName as A join  (select id from tableName where 1=1  order by createTime DESC limit 0,10) as B on A.id=B.id

在其他地方能正常执行,在活字格的“执行SQL命令”中执行报:
[size=13.333px]执行SQL命令调用失败
[size=13.333px]A column named 'id' already belongs to this DataTable.
[size=13.333px]什么原因,各位大佬给看一下。
[size=13.333px]

[size=13.333px]我用的MySQL外联库。


0 个回复

您需要登录后才可以回帖 登录 | 立即注册
返回顶部