is there any similar syntax to this in mysql:
insert into da开发者_高级运维tabase2.table1 (column1, column2) select column4, column5 from database2.table1;
looks good. are you getting an error?
I create a view for the columns I wanted to copy
than i run this query:
insert into database2.table1 (column1, column2) select * from database1.view;
精彩评论