Mysql中从一张表中的数据添加到另一张表时间:2023-03-09 18:56:12 A为原表 B为要加入的表$sql="insert into B select * from A where id=$id";