Answers for "insert into select postgres example return id"

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
1

postgre insert select

insert into TABLENAMEA (A,B,C,D) 
select A,B,C,D from TABLENAMEB
Posted by: Guest on October-21-2020

Code answers related to "insert into select postgres example return id"

Code answers related to "SQL"

Browse Popular Code Answers by Language