adding test scripts
[csql.git] / test / sql / Aggregate / alldatatype_aggregate_min.sql
blob6b5375a507a76da455ffd0caec964b84a5bdc310
1 echo select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 group by f1,f2,f3,f4;
2 select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 group by f1,f2,f3,f4;
3 echo select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 group by f2,f1,f4,f3;
4 select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 group by f2,f1,f4,f3;
5 echo select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 group by f3,f1,f4,f2;
6 select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 group by f3,f1,f4,f2;
7 echo select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 group by f4,f3,f2,f1;
8 select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 group by f4,f3,f2,f1;
9 echo select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 group by f1,f2,f3,f4 having min(f5)>=5000;
10 select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 group by f1,f2,f3,f4 having min(f5)>=5000;
12 echo select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 group by f1,f2,f3,f4;
13 select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 group by f1,f2,f3,f4;
14 echo select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 group by f4,f3,f1,f2;
15 select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 group by f4,f3,f1,f2;
16 echo select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 group by f4,f1,f2,f3;
17 select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 group by f4,f1,f2,f3;
18 echo select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 group by f4,f3,f1,f2;
19 select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 group by f4,f3,f1,f2;
21 echo select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 and f1<15 group by f1,f2,f3,f4;
22 select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 and f1<15 group by f1,f2,f3,f4;
23 echo select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 and f1<15 group by f2,f3,f4,f1;
24 select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 and f1<15 group by f2,f3,f4,f1;
25 echo select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 and f1<15 group by f1,f2,f4,f3;
26 select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 and f1<15 group by f1,f2,f4,f3;
27 echo select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 and f1<15 group by f1,f2,f3,f4 having min(f5)>=4000 and min(f5)<6000;
28 select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 and f1<15 group by f1,f2,f3,f4 having min(f5)>=4000 and min(f5)<6000;
29 echo select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 and f2<=130 group by f1,f2,f3,f4;
30 select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 and f2<=130 group by f1,f2,f3,f4;
31 echo select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 and f2<=130 group by f1,f2,f3,f4 having min(f5)>=5000 and min(f5)<10000;
32 select f1,f2,f3,f4,count(f5),min(f5) ,count(f6),min(f6)  from t1 where f1 >= 12 and f2<=130 group by f1,f2,f3,f4 having min(f5)>=5000 and min(f5)<10000;