Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql delete where in

-- Deletes all records where `columnName` matches the values in brackets.
DELETE FROM tableName WHERE columnName IN ('val1', 'val2', 'val3');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #delete
ADD COMMENT
Topic
Name
4+6 =