Online Home
INSERT INTO newTable
SELECT * FROM oldTable
For single column
INSERT INTO orders(customer_id) SELECT customer_id FROM Customers
https://stackoverflow.com/questions/13237623/copy-data-into-another-table
No comments:
Post a Comment