我们可以用单个sql语句插入两个表吗? [英] can we insert into two tables with single sql statement?
本文介绍了我们可以用单个sql语句插入两个表吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以使用相同的插入命令将两个表插入?
Will it be possible to insert into two tables with same insert command?
推荐答案
不,您不能在一个查询中对两个表进行多次插入.
No you cannot perform multiple inserts into two tables in one query.
这篇关于我们可以用单个sql语句插入两个表吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文