Skip to content

Commit b3cecc8

Browse files
authored
Create # 76
1 parent 8eb3c77 commit b3cecc8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

w3resource/# 76

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# 76. From the following table, write a SQL query to count the number of employees who work as a manager. Return number of employees.
2+
3+
select count(*)
4+
from employees
5+
where emp_id IN (select manager_id
6+
from employees)
7+
;

0 commit comments

Comments
 (0)