select hou.name, vendor_name
from po_vendor_sites_all pvs, ap_suppliers ass, hr_operating_units hou
where pvs.auto_tax_calc_flag = 'N'
and pvs.vendor_id = ass.vendor_id
and ass.vendor_type_lookup_code = 'MEG_EMPLOYEE'
and pvs.org_id = hou.organization_id;
转载于:https://www.cnblogs.com/lanminghuai/p/11239900.html