Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

get id if is not equal in certain table

SELECT * FROM table1
INNER JOIN table2 ON table2.empid = table1.empid AND table2.alt_id <> table1.alt_id
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #id #equal #table
ADD COMMENT
Topic
Name
7+5 =