mysql duplicate a row code example
Example 1: find duplicates mysql column
SELECT name, COUNT(*) c FROM table GROUP BY name HAVING c > 1;
Example 2: duplicate row mysql
# Duplicate rows or row
INSERT INTO table (col1, col2, col3)
SELECT col1, col2, col3 FROM table
WHERE something...;