ClickHouse/tests/queries/0_stateless/00260_like_and_curly_braces.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

35 lines
2.0 KiB
SQL

SELECT 'a}a' AS x, x LIKE (concat('%', x, '%') AS pat), materialize(x) LIKE pat;
SELECT 'a}a' AS x, x LIKE (concat('%', x) AS pat), materialize(x) LIKE pat;
SELECT 'a}a' AS x, x LIKE (concat(x, '%') AS pat), materialize(x) LIKE pat;
SELECT 'a}a' AS x, x LIKE (x AS pat), materialize(x) LIKE pat;
SELECT 'a{a' AS x, x LIKE (concat('%', x, '%') AS pat), materialize(x) LIKE pat;
SELECT 'a{a' AS x, x LIKE (concat('%', x) AS pat), materialize(x) LIKE pat;
SELECT 'a{a' AS x, x LIKE (concat(x, '%') AS pat), materialize(x) LIKE pat;
SELECT 'a{a' AS x, x LIKE (x AS pat), materialize(x) LIKE pat;
SELECT '{a' AS x, x LIKE (concat('%', x, '%') AS pat), materialize(x) LIKE pat;
SELECT '{a' AS x, x LIKE (concat('%', x) AS pat), materialize(x) LIKE pat;
SELECT '{a' AS x, x LIKE (concat(x, '%') AS pat), materialize(x) LIKE pat;
SELECT '{a' AS x, x LIKE (x AS pat), materialize(x) LIKE pat;
SELECT 'a{' AS x, x LIKE (concat('%', x, '%') AS pat), materialize(x) LIKE pat;
SELECT 'a{' AS x, x LIKE (concat('%', x) AS pat), materialize(x) LIKE pat;
SELECT 'a{' AS x, x LIKE (concat(x, '%') AS pat), materialize(x) LIKE pat;
SELECT 'a{' AS x, x LIKE (x AS pat), materialize(x) LIKE pat;
SELECT 'a}' AS x, x LIKE (concat('%', x, '%') AS pat), materialize(x) LIKE pat;
SELECT 'a}' AS x, x LIKE (concat('%', x) AS pat), materialize(x) LIKE pat;
SELECT 'a}' AS x, x LIKE (concat(x, '%') AS pat), materialize(x) LIKE pat;
SELECT 'a}' AS x, x LIKE (x AS pat), materialize(x) LIKE pat;
SELECT '}a' AS x, x LIKE (concat('%', x, '%') AS pat), materialize(x) LIKE pat;
SELECT '}a' AS x, x LIKE (concat('%', x) AS pat), materialize(x) LIKE pat;
SELECT '}a' AS x, x LIKE (concat(x, '%') AS pat), materialize(x) LIKE pat;
SELECT '}a' AS x, x LIKE (x AS pat), materialize(x) LIKE pat;
SELECT '{a}' AS x, x LIKE (concat('%', x, '%') AS pat), materialize(x) LIKE pat;
SELECT '{a}' AS x, x LIKE (concat('%', x) AS pat), materialize(x) LIKE pat;
SELECT '{a}' AS x, x LIKE (concat(x, '%') AS pat), materialize(x) LIKE pat;
SELECT '{a}' AS x, x LIKE (x AS pat), materialize(x) LIKE pat;