ClickHouse/dbms/tests/queries/0_stateless/00162_global_join.sql
2015-05-27 03:55:54 +03:00

2 lines
204 B
SQL

SELECT toFloat64(dummy + 2) AS n, j1, j2 FROM remote('127.0.0.{2,3}', system.one) GLOBAL ANY LEFT JOIN (SELECT number / 3 AS n, number AS j1, 'Hello' AS j2 FROM system.numbers LIMIT 10) USING n LIMIT 10;