Search
⌘K

Leetcode 580. Count Student Number in Departments

Given Department and Student tables, compute the number of students in each department using joins and aggregation; be sure to include departments with zero students (count as 0) and return each department with its student count, typically ordered by department id.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.