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