Answers for "mysql insert same data in all rows"

SQL
0

how to insert same table data using mysql query

Use INSERT ... SELECT:

insert into your_table (c1, c2, ...)
select c1, c2, ...
from your_table
where id = 1
Posted by: Guest on March-30-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language