$ 0 0 select * from a left join b on a.id = b.id where b.name like 'x%'; select * from a join b on a.id = b.id where b.name like 'x%';