We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e12e77d commit cb19027Copy full SHA for cb19027
Medium/NewCompanies.sql
@@ -0,0 +1,6 @@
1
+SELECT C.company_code, C.founder, count(distinct(lead_manager_code)), count(distinct(senior_manager_code)), count(distinct(manager_code)),
2
+count(distinct(employee_code))
3
+FROM Company C
4
+INNER JOIN EMPLOYEE E ON (c.company_code = E.company_code)
5
+Group BY C.company_code, C.founder
6
+ORDER BY C.Company_Code;
0 commit comments