mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
7 lines
294 B
SQL
7 lines
294 B
SQL
DROP TABLE IF EXISTS json;
|
|
CREATE TABLE json (x UInt8, title String) ENGINE = Memory;
|
|
INSERT INTO json FORMAT JSONEachRow {"x": true, "title": "true"}, {"x": false, "title": "false"}, {"x": 0, "title": "0"}, {"x": 1, "title": "1"}
|
|
|
|
SELECT * FROM json ORDER BY title;
|
|
DROP TABLE IF EXISTS json;
|