mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +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;
|