最佳答案
这个怎么样:
SELECT DefectReporter, COUNT(*) AS DefectCount, DefectSprint, DefectSprintInWeek
FROM {table}
WHERE {condition}
GROUP BY DefectReporter, DefectSprint, DefectSprintInWeek
ORDER BY COUNT(*) DESC
关于mysql - 分组 sum 、 count 和 max 以按多列分组,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49520424/