SQL join ON not equal in Mysql -
i have 2 tables. both contains question id field. want records first table not present in second one. don't want use "not in" constrain second table having more 400000 records.
try like
select t1.* table1 t1 left join table2 t2 on t1.questionid = t2.questionid t2.questionid null
Comments
Post a Comment