如题这样的语句该怎么写,
select a.* from a right join b on a.id = b.id and b.name like '%abc%'  
大概是这个意思,不过好像出来的结果是错误的某些不相关的也出来了