mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 22:12:21 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
6 lines
256 B
SQL
6 lines
256 B
SQL
DROP TABLE IF EXISTS t;
|
|
create table t (i Int, a Int, s String, index ind_s (s) type set(1) granularity 1) engine = MergeTree order by i;
|
|
insert into t values (1, 1, 'a') (2, 1, 'a') (3, 1, 'a') (4, 1, 'a');
|
|
SELECT a, i from t ORDER BY a, i;
|
|
DROP TABLE t;
|