How to delete from a table where ID is in a list of IDs?
delete from t
where id in (1, 4, 6, 7)
Your question almost spells the SQL for this:
DELETE FROM table WHERE id IN (1, 4, 6, 7)
delete from t
where id in (1, 4, 6, 7)
Your question almost spells the SQL for this:
DELETE FROM table WHERE id IN (1, 4, 6, 7)