Skip to content

Commit 8656a6c

Browse files
committed
Time: 461 ms (97.87%) | Memory: 0B (100.00%) - LeetSync
1 parent dbf3e02 commit 8656a6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SELECT DISTINCT teacher_id , COUNT(DISTINCT subject_id) AS cnt
2+
FROM Teacher
3+
GROUP BY teacher_id

0 commit comments

Comments
 (0)