Sql not contains

This article is tagged with: Sql not contains and mysql

sql not contains

SELECT * FROM tbl WHERE tbl.col NOT LIKE '%text%';

sql doesn’t contain

/*Return data with the exception of the identified values*/
SELECT COLUMN1, COLUMN2 ...
FROM SCHEMA_NAME.TABLE_NAME
WHERE NOT (COLUMN1 LIKE '%VALUE%');

This article is tagged with: Sql not contains and mysql