Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

select only unique values from and to current table

INSERT INTO Table2(Id) SELECT DISTINCT Id FROM Table1 WHERE Id NOT IN(SELECT Id FROM Table2);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #unique #values #current #table
ADD COMMENT
Topic
Name
1+6 =