当前位置:知识百问>百科问答>select Insert into和Insert into select的区别

select Insert into和Insert into select的区别

2023-07-28 22:43:14 编辑:join 浏览量:623

select Insert into和Insert into select的区别

insert into相当于自定义清丛数据数据插入,而insert into select则相当于根据其他表的数据插入到被插入的表中。

比如,有如下要被插入的表败链,表名test ,字段名为id 和 name

用insert into的方法

如果用insert into select的方法

或者所插入的数据有其他表的来源:

标签:select,Insert,into

版权声明:文章由 知识百问 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.zhshbaiwen.com/answer/202431.html
热门文章