SyntaxFix
Write A Post
Hire A Developer
Questions
Best solution is to use
DELETE FROM table WHERE id NOT IN ( 2 )