Answers for "Get counts of Managerial and executives along with company code and it's founder"

0

Get counts of Managerial and executives along with company code and it's founder

select c.company_code, 
    c.founder, 
    count(distinct e.lead_manager_code), 
    count(distinct e.senior_manager_code), 
    count(distinct e.manager_code), 
    count(distinct e.employee_code)
from company c
    inner join employee e on e.company_code = c.company_code
group by c.company_code,c.founder
order by c.company_code;
Posted by: Guest on August-29-2021

Code answers related to "Get counts of Managerial and executives along with company code and it's founder"

Browse Popular Code Answers by Language