insert pg result of select code example
Example: 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;
insert into items_ver (item_id, name, item_group)
select item_id, name, item_group from items where item_id=2;