This removes duplicates in place, without making a new table.
ALTER IGNORE TABLE `table_name` ADD UNIQUE (title, SID)
Note: This only works well if index fits in memory.
More Related Contents:
- Remove duplicate rows in MySQL
- Delete all Duplicate Rows except for One in MySQL? [duplicate]
- Find duplicate records in MySQL
- How to abort INSERT operation in MySql trigger?
- Prevent auto increment on MySQL duplicate insert
- Deleting duplicate rows from a table
- In MySQL, can I copy one row to insert into the same table?
- Removing duplicates with unique index
- How to delete duplicate rows from a MySQL table
- How do I delete all the duplicate records in a MySQL table without temp tables
- MySQL delete duplicate records but keep latest
- How to remove duplicate entries from a mysql db?
- Count duplicates records in Mysql table?
- How to do unique constraint works with NULL value in MySQL
- Force MySQL to return duplicates from WHERE IN clause without using JOIN/UNION?
- MySQL – Rows to Columns
- ROW_NUMBER() in MySQL
- Join tables with SUM issue in MYSQL
- sql joins as venn diagram
- How can I join multiple SQL tables using the IDs?
- How to perform a mysqldump without a password prompt?
- MySQL, better to insert NULL or empty string?
- MySQL indexes – what are the best practices?
- Selecting random rows with MySQL
- Is there a naming convention for MySQL?
- Why does MySQL autoincrement increase on failed inserts?
- error code 1292 incorrect date value mysql
- How to search for rows containing a substring?
- Should I always prefer MySQL InnoDB over MyISAM?
- MySQL add 12 hours to a time field