ClickHouse/dbms/tests/queries/0_stateless/00138_table_aliases.sql

3 lines
147 B
MySQL
Raw Normal View History

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;