A,B的表结构 A:a,b,c B:a,b,c 需求 将B表中的a,c字段插入A表中,其中A表的b字段默认为’b’. code insert into A (a,b,c) select s.a,'b',s.c from ( select t.a,t.c from B t ) s