A表的id关联B表的业务id,使用左连接查询时,需要查询出B表的业务id为空,或者不为空并且逻辑删除字段是未删除的数据
inner join就可以了,非得左连接,我看你提问的,inner join完全可以解决
c插个眼,自己研究出来了
where b.id is null or b.id_del = 1