How do I copy a selection of rows from a mySql table and insert with just the key value changed. Can I do a select and insert in same query?
To be precise, what I wa
you can do
insert into your_table (SELECT field1, field2,(changed_value_for_field3) as field3 FROM your_table where your_condition);