mysql hapus semua di mana id tidak sama
DELETE FROM table WHERE id <> 2
Mysterious Macaque
DELETE FROM table WHERE id <> 2