SyntaxFix
Write A Post
Hire A Developer
Questions
Your question almost spells the SQL for this:
DELETE FROM table WHERE id IN (1, 4, 6, 7)