programming-examples/sql/WildcardSpecialOperators/Write a SQL statement to find those rows from the table testtable which contain the escape character underscore ( _ ) in its column 'col1'.sql
2019-11-18 14:05:53 +01:00

6 lines
213 B
SQL

/*Write a SQL statement to find those rows from the table testtable which
contain the escape character underscore ( _ ) in its column 'col1'.*/
SELECT *
FROM testtable
WHERE coll LIKE '%/_%' ESCAPE '/';