Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

myql find duplicates

SELECT 
    col, 
    COUNT(col)
FROM
    table_name
GROUP BY col
HAVING COUNT(col) > 1;
Code language: SQL (Structured Query Language) (sql)
Source by www.mysqltutorial.org #
 
PREVIOUS NEXT
Tagged: #myql #find #duplicates
ADD COMMENT
Topic
Name
3+2 =