I need to delete all the duplicated records from one of my tables the problem is that there isn\'t any id or unique or key column so I can\'t make something like this:
its pretty simple just make a temporary table and drop the other table then recreate it
CREATE TEMPORARY TABLE IF NOT EXISTS no_dupes AS
(SELECT * FROM test GROUP BY phone, address, name, cellphone);
TRUNCATE table test;
INSERT INTO test (phone, address, name, cellphone)
SELECT phone, address, name, cell FROM no_dupes;
WORKING DEMO