Skip to content

Commit 294bb0a

Browse files
committed
Time: 621 ms (19.31%) | Memory: 0B (100.00%) - LeetSync
1 parent 3742f2e commit 294bb0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
# Write your MySQL query statement below
3+
SELECT teacher_id,COUNT(DISTINCT subject_id) as cnt FROM Teacher
4+
GROUP BY teacher_id;

0 commit comments

Comments
 (0)