programming-examples/sql/WildcardSpecialOperators/Write a SQL statement to find those rows from the table testtable which does not contain the escape character in its column 'col1'.sql

5 lines
213 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*Write a SQL statement to find those rows from the table testtable which does not contain the escape
character ( / ) in its column 'col1'.*/
SELECT *
FROM testtable
WHERE coll NOT LIKE '%//%' ESCAPE '/';