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;