MySQL exclua tudo onde o ID não é igual

DELETE FROM table WHERE id <>  2
Mysterious Macaque