ClickHouse/dbms/tests/queries/0_stateless/00202_cross_join.sql

2 lines
127 B
MySQL
Raw Normal View History

2015-07-23 20:23:24 +00:00
SELECT x, y FROM (SELECT number AS x FROM system.numbers LIMIT 3) CROSS JOIN (SELECT number AS y FROM system.numbers LIMIT 5);