SELECT * FROM bairro left join logradouro
on (bairro.id = logradouro.idBairro)
and (logradouro.logradouro like '%Av Brasil%')
SELECT * FROM bairro left join logradouro
on (bairro.id = logradouro.idBairro)
and (logradouro.logradouro like '%Av Brasil%')