ClickHouse/dbms/tests/queries/0_stateless/00138_table_aliases.sql
2016-06-07 11:23:15 +03:00

3 lines
147 B
SQL

SELECT * FROM `system`.`one` AS `xxx`;
SELECT 1 AS k, s FROM `system`.`one` AS `xxx` ANY LEFT JOIN (SELECT 1 AS k, 'Hello' AS s) AS `yyy` USING k;