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

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