ClickHouse/tests/queries/0_stateless/01847_bad_like.sql

31 lines
678 B
MySQL
Raw Normal View History

2021-04-25 00:58:44 +00:00
SELECT '\w' LIKE '%\w%';
SELECT '\w' LIKE '\w%';
SELECT '\w' LIKE '%\w';
SELECT '\w' LIKE '\w';
SELECT '\\w' LIKE '%\\w%';
SELECT '\\w' LIKE '\\w%';
SELECT '\\w' LIKE '%\\w';
SELECT '\\w' LIKE '\\w';
SELECT '\i' LIKE '%\i%';
SELECT '\i' LIKE '\i%';
SELECT '\i' LIKE '%\i';
SELECT '\i' LIKE '\i';
SELECT '\\i' LIKE '%\\i%';
SELECT '\\i' LIKE '\\i%';
SELECT '\\i' LIKE '%\\i';
SELECT '\\i' LIKE '\\i';
SELECT '\\' LIKE '%\\\\%';
SELECT '\\' LIKE '\\\\%';
SELECT '\\' LIKE '%\\\\';
SELECT '\\' LIKE '\\\\';
SELECT '\\' LIKE '\\';
SELECT '\\xyz\\' LIKE '\\\\%\\\\';
SELECT '\\xyz\\' LIKE '\\\\___\\\\';
SELECT '\\xyz\\' LIKE '\\\\_%_\\\\';
SELECT '\\xyz\\' LIKE '\\\\%_%\\\\';