Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql check duplicate value in column

SELECT columnName, COUNT(columnName)
FROM tableName
GROUP BY columnName
HAVING COUNT(columnName)>1
Source by learnsql.com #
 
PREVIOUS NEXT
Tagged: #sql #check #duplicate #column
ADD COMMENT
Topic
Name
5+5 =