mysql用insert into select 语句插入数据

insert into A(a,b,c)select t.a,t.b,’5’ from B t; 其中A中a, b两列数据从B中a,b 两列中来,c列为常量,直接插入5便可。web
相关文章
相关标签/搜索