how to insert same table data using mysql query

Solutions on MaxInterview for how to insert same table data using mysql query by the best coders in the world

showing results for - "how to insert same table data using mysql query"
Veronica
13 Aug 2018
1Use INSERT ... SELECT:
2
3insert into your_table (c1, c2, ...)
4select c1, c2, ...
5from your_table
6where id = 1