I need to DELETE duplicated rows for specified sid on a MySQL table.
DELETE
MySQL
How can I do this with an SQL query?
Could it work if you count them, and then add a limit to your delete query leaving just one?
For example, if you have two or more, write your query like this:
DELETE FROM table WHERE SID = 1 LIMIT 1;