how to import the attributes from one table to another in mysql

Posted by user225269 on Stack Overflow See other posts from Stack Overflow or by user225269
Published on 2010-03-11T05:00:19Z Indexed on 2010/03/11 5:13 UTC
Read the original article Hit count: 160

Filed under:

Is it possible to import the attributes of one table, then I put it into another table using a query in mysql?

For example I have table1 with attributes lname, fname, mname And I want to put those attributes into table2.

Is there any query that could do that? I'm imagining that the table2 has one attribute that could later be dropped so that it will be the same as table1.

© Stack Overflow or respective owner

Related posts about mysql