How do I perform a real left outer join in mysql? it seems it’s left outer join includes the inner join. I need to find records in table a that are not in table b.
The best I could come up with is
select * from `a` where `a`.`index` not in (select `index` from `b`)
Is there any more optimized way? without subquery maybe?
This is how you would do it w/ a left join: