wherehas 联合查询:
select * from a where user_id exists(select id from b);
join 联合查询
inner join / left join
with 每个sql独立查询:a,b 都显示
with / wherehas / join 区别
最新推荐文章于 2023-10-24 17:41:42 发布
wherehas 联合查询:
select * from a where user_id exists(select id from b);
join 联合查询
inner join / left join
with 每个sql独立查询:a,b 都显示