Check out example codes for "sql delete where in". It will help you in understanding the concepts better.

Code Example 1

-- Deletes all records where `columnName` matches the values in brackets.
DELETE FROM tableName WHERE columnName IN ('val1', 'val2', 'val3');

Code Example 2

DELETE FROM table_name WHERE condition;

Learn ReactJs, React Native from akashmittal.com