首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
leetcode2356专题
sql23(Leetcode2356每位教师所教授的科目种类的数量)
代码: # Write your MySQL query statement belowselect teacher_id,count(distinct(subject_id)) as cntfrom Teachergroup by teacher_id
阅读更多...