数据多吗?不多就循环一条一条写。两个表一样吗?  假设表 ( id , name  )
 一样就直接用 Insert into a  select name from b where ……