把A表的数据,复制到B表中:

把A表的数据,复制到B表中,

如果B表已经建好和A表一样的表结构,那么用如下语句:


insert into B--目的数据表
select UserName, PassWord --要插入的数据
from A  --原始数据表

原文地址:https://www.cnblogs.com/wehas/p/3382763.html