SQL中的insert into到一个新表时 , 怎么同时添加多个?

2025-05-20 15:28:45
推荐回答(2个)
回答1:

insert into select a,b from table2 union select a, b  from table3

回答2:

用union all

insert into select a,b from table2 union all select a, b from table3

希望能帮到你……