通过选择进行多次更新?
我想写的
insert into tbl1(a,b)
select 123, (select id from tbl2 where status=987)
问题是,只插入一行而不是多行。我该如何解决这个问题? 使用 SQLite。
i would like to write
insert into tbl1(a,b)
select 123, (select id from tbl2 where status=987)
the problem is, only one row is inserted instead of many rows. How do i fix this?
using Sqlite.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
为什么不:
?
Why not :
?
你尝试过吗?
did u try tis?