两个表是靠id来对应的吗??
如果是
那么可以这样
select * from tb_1 a,tb_2 b where a.id=b.id and b.name like '%a%'