services-flake/nix/clickhouse/test.sql
roman-bodavskiy a0bde519ed
clickhouse init script (#91)
* clickhouse init script

* clickhouse schema test

* clickhouse folder

* docs: add initialDatabases to tips & tricks

* docs: use heading anchor

* add TODO to find an alternative to start clickhouse-server during init

---------

Co-authored-by: shivaraj-bh <sbh69840@gmail.com>
2024-02-07 22:03:06 +05:30

4 lines
152 B
SQL

CREATE TABLE sample_db.ride (`id` Int64, `short_id` String) ENGINE = MergeTree() PRIMARY KEY (id);
INSERT INTO sample_db.ride values (1, 'test_ride');