📜  在sql代码示例中选择所有相同的列值

📅  最后修改于: 2022-03-11 15:05:25.045000             🧑  作者: Mango

代码示例1
SELECT RollId, count(*) AS c FROM `tblstudents` GROUP BY RollId HAVING c > 1 ORDER BY c DESC