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

5 lines
201 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 contain the escape
character ( / ) in its column 'col1'. */
SELECT *
FROM testtable
WHERE coll LIKE '%//%' ESCAPE '/';