sql语句实现从一个表的查询出某些数据插入另外一个表中

insert into GZFW_YHXX(xm,zjlx,zjhm,zt,mm) select xm,'01',zjhm,'01','C4CA4238A0B923820DCC509A6F75849B' from gjtq.gg_gr;

原文地址:https://www.cnblogs.com/lanjianqing/p/5401173.html