ClickHouse/tests/queries/0_stateless/01143_trivial_count_with_join.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
341 B
MySQL
Raw Normal View History

2020-06-04 22:01:40 +00:00
drop table if exists t;
create table t engine Memory as select * from numbers(2);
select count(*) from t, numbers(2) r;
select count(*) from t cross join numbers(2) r;
select count() from t cross join numbers(2) r;
select count(t.number) from t cross join numbers(2) r;
select count(r.number) from t cross join numbers(2) r;
drop table t;