Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

select all same column value in sql

SELECT RollId, count(*) AS c FROM `tblstudents` GROUP BY RollId HAVING c > 1 ORDER BY c DESC
 
PREVIOUS NEXT
Tagged: #select #column #sql
ADD COMMENT
Topic
Name
9+1 =