postgresql insert value based on select code example
Example: postgresql insert select
insert into items_ver(item_id, item_group, name)
select * from items where item_id=2;
insert into items_ver(item_id, item_group, name)
select * from items where item_id=2;