2 Statement Executed
: Rows Affected
= 1
3 Statement Executed
: Rows Affected
= 1
4 Statement Executed
: Rows Affected
= 1
5 Statement Executed
: Rows Affected
= 1
6 Statement Executed
: Rows Affected
= 1
8 Statement Executed
: Rows Affected
= 1
9 Statement Executed
: Rows Affected
= 1
10 Statement Executed
: Rows Affected
= 1
11 Statement Executed
: Rows Affected
= 1
12 Statement Executed
: Rows Affected
= 1
13 ---------------------------------------------------------
15 ---------------------------------------------------------
22 ---------------------------------------------------------
24 ---------------------------------------------------------
31 echo select count
(f1
) from t1
;
32 ---------------------------------------------------------
34 ---------------------------------------------------------
37 echo select count
(f2
) from t1
;
38 ---------------------------------------------------------
40 ---------------------------------------------------------
43 echo select sum(f1
) from t1
;
44 ---------------------------------------------------------
46 ---------------------------------------------------------
49 echo select sum(f3
) from t1
;
50 ---------------------------------------------------------
52 ---------------------------------------------------------
55 echo select avg
(f1
) from t1
;
56 ---------------------------------------------------------
58 ---------------------------------------------------------
61 echo select avg
(f2
) from t1
;
62 ---------------------------------------------------------
64 ---------------------------------------------------------
67 echo select min
(f2
) from t1
;
68 ---------------------------------------------------------
70 ---------------------------------------------------------
73 echo select max
(f3
) from t1
;
74 ---------------------------------------------------------
76 ---------------------------------------------------------
79 echo select avg
(t1.f2
) from t1
;
80 ---------------------------------------------------------
82 ---------------------------------------------------------
85 echo select count
(t1.f3
) from t1
;
86 ---------------------------------------------------------
88 ---------------------------------------------------------
91 echo select min
(t1.f3
) from t1
;
92 ---------------------------------------------------------
94 ---------------------------------------------------------
97 echo select avg
(t1.f2
), min
(f3
), count
(t1.f1
) from t1
;
98 ---------------------------------------------------------
99 AVG
(t1.f2
) MIN
(f3
) COUNT
(t1.f1
)
100 ---------------------------------------------------------
103 echo select avg
(t1.f2
),avg
(t2.f2
) from t1
,t2
;
104 ---------------------------------------------------------
105 AVG
(t1.f2
) AVG
(t2.f2
)
106 ---------------------------------------------------------
109 echo select avg
(t1.f2
), min
(t2.f2
), max
(t1.f2
), count
(t2.f3
), sum(t1.f1
) from t1
,t2
;
110 ---------------------------------------------------------
111 AVG
(t1.f2
) MIN
(t2.f2
) MAX
(t1.f2
) COUNT
(t2.f3
) SUM
(t1.f1
)
112 ---------------------------------------------------------