Select Only Distinct Values From Another Table

[Solved] Select Only Distinct Values From Another Table | Perl - Code Explorer | yomemimo.com
Question : select only distinct values another table

Answered by : acad-helper

INSERT INTO Table2(Id) SELECT DISTINCT Id FROM Table1 WHERE Id NOT IN(SELECT Id FROM Table2);

Source : https://stackoverflow.com/questions/18599149/insert-distinct-values-from-one-table-into-another-table | Last Update : Sat, 08 May 21

Answers related to select only distinct values from another table

Code Explorer Popular Question For Perl