mysql usuń wszystko, gdzie identyfikator nie jest równy

DELETE FROM table WHERE id <>  2
Mysterious Macaque