How to append tables in Mysql

Posted on Saturday, July 5th, 2008 at 6:58 pm in

For those of you that have puzzled over how to append tables in Mysql like an Access ‘Append’ query, start here:

insert into table1 select * from table2;<br />

Where table1 and table2 are identical. This might fail if you use an auto-incrementing counter on both.

You might also be interested in

Add your comment

Leave a Reply

Leave A Comment

Top