ClickHouse/tests/queries/0_stateless/00138_table_aliases.sql
2023-03-01 18:03:41 +01:00

3 lines
163 B
SQL

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