Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

copy column from one table to another without column duplicate postgres

//Postgres Database Query
insert into table1(column1,column2)
select c1,c2
  from table2 a
 where not exists ( select 0 from table1 b where b.id = a.id )
Source by webscriptdev.blogspot.com #
 
PREVIOUS NEXT
Tagged: #copy #column #table #column #duplicate #postgres
ADD COMMENT
Topic
Name
6+6 =