Answers for "how to insert with select statement in pg"

SQL
1

insert pg result of select

insert into items_ver (item_id, name, item_group)
select item_id, name, item_group from items where item_id=2;
Posted by: Guest on January-15-2021

Code answers related to "how to insert with select statement in pg"

Code answers related to "SQL"

Browse Popular Code Answers by Language