1 echo select count
(f1
) from t1
;
2 ---------------------------------------------------------
4 ---------------------------------------------------------
7 echo select count
(*) from t1 where f4
='AAA';
8 ---------------------------------------------------------
10 ---------------------------------------------------------
13 echo select sum(f1
) from t1
;
14 ---------------------------------------------------------
16 ---------------------------------------------------------
19 echo select avg
(f1
) from t1
;
20 ---------------------------------------------------------
22 ---------------------------------------------------------
25 echo select min
(t1.f1
) from t1
;
26 ---------------------------------------------------------
28 ---------------------------------------------------------
31 echo select min
(f4
) from t1
;
32 ---------------------------------------------------------
34 ---------------------------------------------------------
37 echo select max
(t1.f1
) from t1
;
38 ---------------------------------------------------------
40 ---------------------------------------------------------
43 echo select max
(f4
) from t1
;
44 ---------------------------------------------------------
46 ---------------------------------------------------------