sql 表B的数据批量插入到表A

INSERT INTO A(列1,列2,列3) SELECT 1 as 列1,列2,1 as 列3 FROM B where RoleId = 1
原文地址:https://www.cnblogs.com/xiaonangua/p/11098507.html