开发者

Is it possible to select and insert its result in MySQL?

开发者 https://www.devze.com 2023-01-28 05:31 出处:网络
I have a table that needs to be updated with another table. Can I make a Select command to insert the data foun开发者_JS百科d on another table? If so, how?

I have a table that needs to be updated with another table. Can I make a Select command to insert the data foun开发者_JS百科d on another table? If so, how?

I use MySQL


insert into table1
(Column1, Column2)
select Column1, Column2
from table2
0

精彩评论

暂无评论...
验证码 换一张
取 消