Skip to main content
Code To HaveN
Toggle navigation
Home
Categories
Online Judge
YouTube Tutorials
About
Search tutorials and solutions
Search
Categories
/
MySQL
/
Group By
Solved programming problem
For each job_id, show the no of employees in that job type from the employees table
Source code
Copy code
SELECT JOB_ID, COUNT(EMPLOYEE_ID) FROM employees GROUP BY JOB_ID;
Join the discussion
Add your comment
Your name
Comment
Post comment
Add your comment