MySQL は merge join をサポートしていない dependent subquery より left join 〜 isnull のが速い mysql> select count(*) from m where id<100000 and not exists (select * from tt where tt.id=m.id); +----------+ | count(*) | +----------+ | 97 | +----------+ 1 row in set (0.10 sec) mysql> select count(*) from m left join tt on m.id=tt.id where m.id<100000 and isnull(tt.id); +----------+ | count(*) | +----------+ | 97 | +--