You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
180 B
MySQL
4 lines
180 B
MySQL
5 years ago
|
/*26. Write a query in SQL to display the manager ID and number of employees managed by the manager.*/
|
||
|
SELECT manager_id, COUNT(*)
|
||
|
FROM employees
|
||
|
GROUP BY manager_id;;
|