mysql - Insert Into WHERE Data in a column is specific -
i trying copy data (columns, too) table1 in table2 column1 xyz.
i have like:
insert table2 select * table1 column1='xyz' this errors telling me column1 unknown field name.
your column names must match, alias them come out of table1 match table2
insert table2 select table1_column1 table2_column1 table1 table1_column1='xyz'
Comments
Post a Comment