我有两个具有相同结构的表。我需要从一个表中选择数据并将它们存储到另一个表中。
我怎样才能做到这一点?
insert into tablea(id,name) select id,name from tableb;