mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 18:14:03 +00:00
4 lines
260 B
SQL
4 lines
260 B
SQL
CREATE TABLE IF NOT EXISTS ColumnsClauseTest (product_price Int64, product_weight Int16, amount Int64) Engine=TinyLog;
|
|
INSERT INTO ColumnsClauseTest VALUES (100, 10, 324), (120, 8, 23);
|
|
SELECT COLUMNS 'product.*' from ColumnsClauseTest ORDER BY product_price;
|