Use INSERT ... SELECT:
insert into your_table (c1, c2, ...)
select c1, c2, ...
from your_table
where id = 1
Code Example |
---|
:: |
:: |
Sql :: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: set value to null postgres |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
Sql :: load a log file in that format into MySQL |
:: |
:: |
:: jsonb |
:: |
Sql :: |
:: |
Sql :: select all column |
Javascript :: |