core reorg
[csql.git] / test / sql / Aggregate / aggregate6.sql
blob2ae2f5799b8bde6366a8e3ba5a4da5ce19a6b1f2
1 echo select * from t1;
2 select * from t1;
4 echo select min(t1.f2) from t1 group by t1.f1;
5 select min(t1.f2) from t1 group by t1.f1;
7 echo select avg(t1.f2) from t1 group by t1.f1;
8 select avg(t1.f2) from t1 group by t1.f1;
10 echo select sum(t1.f2) from t1 group by notexist;
11 select sum(t1.f2) from t1 group by notexist;
13 echo select sum(t1.f2) from t1 group by t1.notexist;
14 select sum(t1.f2) from t1 group by t1.notexist;
16 echo select sum(t1.f2) from t1 group by notexist.f1;
17 select sum(t1.f2) from t1 group by notexist.f1;