core reorg
[csql.git] / test / sql / Aggregate / exp.test001.ksh
blob58ddc592e853216a58e9bd5acc2bec7c16b7fd7b
1 echo select count(f1) from t2;
2 Statement prepare failed with error -5
3 echo select count(f1) from t1;
4 ---------------------------------------------------------
5 COUNT(f1)
6 ---------------------------------------------------------
7 5
9 echo select sum(f1) from t1;
10 ---------------------------------------------------------
11 SUM(f1)
12 ---------------------------------------------------------
13 500
15 echo select avg(f1) from t1;
16 ---------------------------------------------------------
17 AVG(f1)
18 ---------------------------------------------------------
19 100.000000
21 echo select min(f1) from t1;
22 ---------------------------------------------------------
23 MIN(f1)
24 ---------------------------------------------------------
25 98
27 echo select max(f1) from t1;
28 ---------------------------------------------------------
29 MAX(f1)
30 ---------------------------------------------------------
31 102