mysql select where column not contains code example Example: sql not contains SELECT * FROM tbl WHERE tbl.col NOT LIKE '%text%';