mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
11 lines
305 B
MySQL
11 lines
305 B
MySQL
|
DROP TABLE IF EXISTS tab;
|
||
|
|
||
|
CREATE TABLE tab (col FixedString(2)) engine = MergeTree() ORDER BY col;
|
||
|
|
||
|
INSERT INTO tab VALUES ('AA') ('Aa');
|
||
|
|
||
|
SELECT col, col LIKE '%a', col ILIKE '%a' FROM tab WHERE col = 'AA';
|
||
|
SELECT col, col LIKE '%a', col ILIKE '%a' FROM tab WHERE col = 'Aa';
|
||
|
|
||
|
DROP TABLE IF EXISTS tab;
|