mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
18 lines
511 B
SQL
18 lines
511 B
SQL
DROP TABLE IF EXISTS test_table;
|
|
CREATE TABLE test_table(a Array(Int8), d Decimal32(4), c Tuple(DateTime64(3), UUID)) ENGINE=GenerateRandom();
|
|
SELECT COUNT(*) FROM (SELECT * FROM test_table LIMIT 100);
|
|
|
|
DROP TABLE IF EXISTS test_table;
|
|
|
|
SELECT '-';
|
|
|
|
DROP TABLE IF EXISTS test_table_2;
|
|
CREATE TABLE test_table_2(a Array(Int8), d Decimal32(4), c Tuple(DateTime64(3, 'Europe/Moscow'), UUID)) ENGINE=GenerateRandom(10, 5, 3);
|
|
|
|
SELECT * FROM test_table_2 LIMIT 100;
|
|
|
|
SELECT '-';
|
|
|
|
DROP TABLE IF EXISTS test_table_2;
|
|
|