Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to select only id where is not in column mysql

SELECT * FROM Table1 WHERE Table1.principal NOT IN (SELECT principal FROM table2)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #id #column #mysql
ADD COMMENT
Topic
Name
3+4 =