select all same column value in sql
snippet in sql

select all same column value in sql

user4393

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