Replicate Record in MySQL

We can duplicate records in our MySQL table using SELECT COUNT(*) FROM YOUR_TABLE;
INSERT INTO YOUR_TABLE
SELECT *
FROM YOUR_TABLE
WHERE COUNT =(SELECT COUNT(*)
FROM YOUR_TABLE);
Duplicate record is only possible if your table has no primary key as primary key will not allow duplicates otherwise its ok to duplicate record.
INSERT INTO YOUR_TABLE
SELECT *
FROM YOUR_TABLE
WHERE COUNT =(SELECT COUNT(*)
FROM YOUR_TABLE);
Duplicate record is only possible if your table has no primary key as primary key will not allow duplicates otherwise its ok to duplicate record.