select f.*
from fnd_companies_vl f --公司
where exists(select *
from
sys_user s--用户
where --取外层公司表的条件和内层用户表比较,判读外层的要查的东西,是要再内层成立的基础上才有数据。
f.business_group=s.business_group)
not exists 相反