Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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;
Source by dba.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #insert #pg #result #select
ADD COMMENT
Topic
Name
8+5 =