3 Statement Executed
: Rows Affected
= 1
4 Statement Executed
: Rows Affected
= 1
5 Statement Executed
: Rows Affected
= 1
6 Statement Executed
: Rows Affected
= 1
7 Statement Executed
: Rows Affected
= 1
8 Statement Executed
: Rows Affected
= 1
9 Statement Executed
: Rows Affected
= 1
10 Statement Executed
: Rows Affected
= 1
11 echo select count
(f1
) from t1
;
12 ---------------------------------------------------------
14 ---------------------------------------------------------
17 echo select min
(f1
) from t1
;
18 ---------------------------------------------------------
20 ---------------------------------------------------------
23 echo select max
(f3
) from t1
;
24 ---------------------------------------------------------
26 ---------------------------------------------------------
29 echo select avg
(f1
) from t1
;
30 ---------------------------------------------------------
32 ---------------------------------------------------------
35 echo select sum(f1
) from t1
;
36 ---------------------------------------------------------
38 ---------------------------------------------------------
41 echo select count
(f1
) from t1 group by f2
;
42 ---------------------------------------------------------
44 ---------------------------------------------------------
50 echo select min
(f1
) from t1 group by f2
;
51 ---------------------------------------------------------
53 ---------------------------------------------------------
59 echo select max
(f1
) from t1 group by f2
;
60 ---------------------------------------------------------
62 ---------------------------------------------------------
68 echo select avg
(f1
) from t1 group by f2
;
69 ---------------------------------------------------------
71 ---------------------------------------------------------
77 echo select sum(f1
) from t1 group by f2
;
78 ---------------------------------------------------------
80 ---------------------------------------------------------
86 echo select min
(f1
), max
(f3
), sum(f1
) from t1
;
87 ---------------------------------------------------------
88 MIN
(f1
) MAX
(f3
) SUM
(f1
)
89 ---------------------------------------------------------
92 echo select min
(f1
), f2
, max
(f3
) from t1
;
93 Statement prepare failed with error
-28
94 echo select min
(f1
), f2
, max
(f3
) from t1 group by f2
;
95 ---------------------------------------------------------
97 ---------------------------------------------------------
103 echo select min
(f2
) from t1 group by f2
;
104 ---------------------------------------------------------
106 ---------------------------------------------------------
112 echo select count
(*) from t1
;
113 ---------------------------------------------------------
115 ---------------------------------------------------------
118 echo select count
(*) from t1 group by f2
;
119 ---------------------------------------------------------
121 ---------------------------------------------------------