mysql field doesn not contains another field code example Example: sql not contains SELECT * FROM tbl WHERE tbl.col NOT LIKE '%text%';