core reorg
[csql.git] / test / sql / Aggregate / char_datetypes_count.sql
blobcbdd71d027269a1f06b87b5bb11fd1972d5a6824
1 echo select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 group by f1,f2;
2 select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 group by f1,f2;
3 echo select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 group by f1,f2 having count(f4)>=2;
4 select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 group by f1,f2 having count(f4)>=2;
5 echo select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 where f1 >= 12 group by f1,f2;
6 select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 where f1 >= 12 group by f1,f2;
7 echo select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 where f1 >= 12 group by f1,f2 having count(f8)>=1;
8 select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 where f1 >= 12 group by f1,f2 having count(f8)>=1;
9 echo select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 where f1 >= 12 and f1<15 group by f1,f2;
10 select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 where f1 >= 12 and f1<15 group by f1,f2;
11 echo select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 where f1 >= 12 and f1<15 group by f1,f2 having count(f9)>=2;
12 select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 where f1 >= 12 and f1<15 group by f1,f2 having count(f9)>=2;
13 echo select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 where f1 >= 12 and f1<15 group by f1,f2 having count(f4)>=2 and count(f8) <2;
14 select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 where f1 >= 12 and f1<15 group by f1,f2 having count(f4)>=2 and count(f8) <2;
15 echo select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 where f1 >= 12 and f2<130 group by f1,f2 ;
16 select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 where f1 >= 12 and f2<130 group by f1,f2 ;
17 echo select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 where f1 >= 12 and f2<130 group by f1,f2 having count(f7)>=2 and count(f8)<>2;
18 select f1,f2,count(f4),count(f7),count(f8),count(f9)  from t1 where f1 >= 12 and f2<130 group by f1,f2 having count(f7)>=2 and count(f8)<>2;
19 echo select f7,f8,f9,count(f4) from t1 group by f7,f8,f9;
20 select f7,f8,f9,count(f4) from t1 group by f7,f8,f9;
21 echo select f9,f7,f8,count(f4) from t1 group by f7,f8,f9;
22 select f9,f7,f8,count(f4) from t1 group by f7,f8,f9;
23 echo select f7,f8,f9,count(f4) from t1 group by f7,f9,f8;
24 select f7,f8,f9,count(f4) from t1 group by f7,f9,f8;
25 echo select f7,f8,f9,count(f4) from t1 group by f7,f9,f8 having count(f4)>=1 and count(f4) <2;
26 select f7,f8,f9,count(f4) from t1 group by f7,f9,f8 having count(f4)>=1 and count(f4) <2;
27 echo select f4,f8,f9,count(f7) from t1 group by f4,f8,f9;
28 select f4,f8,f9,count(f7) from t1 group by f4,f8,f9;
29 echo select f4,f8,f9,count(f7) from t1 group by f4,f8,f9 having count(f7)<=2 and count(f7) >1 ;
30 select f4,f8,f9,count(f7) from t1 group by f4,f8,f9 having count(f7)<=2 and count(f7) >1 ;
31 echo select f9,f7,f4,count(f8) from t1 group by f4,f7,f9;
32 select f9,f7,f4,count(f8) from t1 group by f4,f7,f9;
33 echo select f9,f7,f4,count(f8) from t1 group by f4,f7,f9 having count(f8)<=2 and count(f8) >=2 ;
34 select f9,f7,f4,count(f8) from t1 group by f4,f7,f9 having count(f8)<=2  and count(f8) >=2 ;
35 echo select f7,f8,f4,count(f9) from t1 group by f4,f7,f8;
36 select f7,f8,f4,count(f9) from t1 group by f4,f7,f8;
37 echo select f7,f8,f4,count(f9) from t1 group by f4,f7,f8 having count(f9)<=2 and count(f9) >=2 ;
38 select f7,f8,f4,count(f9) from t1 group by f4,f7,f8 having count(f9)<=2 and count(f9) >=2 ;