You are viewing a single comment's thread. Return to all comments →
Ms sql , No need to use all tables
select company.company_code , founder, count(distinct lead_manager_code) , count(distinct senior_manager_code), count(distinct manager_code), count(distinct employee_code) from company left join employee on employee.company_code = company.company_code group by company.company_code ,founder
Seems like cookies are disabled on this browser, please enable them to open this website
New Companies
You are viewing a single comment's thread. Return to all comments →
Ms sql , No need to use all tables