summaryrefslogtreecommitdiff
path: root/mysql-test/r/group_by.result
blob: 3bd3eeb5efda41b49d182ae0f03fc8f96fa4f8a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
userid	MIN(t1.score)
1	1
2	2
3	3
userid	MIN(t1.score)
1	1
2	2
userid	MIN(t1.score+0.0)
1	1.0
2	2.0
cid	CONCAT(firstname, ' ', surname)	COUNT(call_id)
cid	CONCAT(firstname, ' ', surname)	COUNT(call_id)
value	description	bug_id
BBBBBBBBBBBBB - conversion		9
BBBBBBBBBBBBB - conversion		10
BBBBBBBBBBBBB - generic		7
BBBBBBBBBBBBB - generic		14
BBBBBBBBBBBBB - eeeeeeeee		NULL
kkkkkkkkkkk lllllllllll		6
kkkkkkkkkkk lllllllllll		8
kkkkkkkkkkk lllllllllll		12
Test Procedures		NULL
Documentation		NULL
Host communication		NULL
value	description	COUNT(bug_id)
BBBBBBBBBBBBB - conversion		2
BBBBBBBBBBBBB - eeeeeeeee		0
BBBBBBBBBBBBB - generic		2
Documentation		0
Host communication		0
kkkkkkkkkkk lllllllllll		3
Test Procedures		0
value	description	COUNT(bug_id)
BBBBBBBBBBBBB - conversion		2
BBBBBBBBBBBBB - eeeeeeeee		0
BBBBBBBBBBBBB - generic		2
Documentation		0
Host communication		0
Test Procedures		0
1+1	a	count(*)
2	a	0
1+1	a	count(*)
2	a	0
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	ALL	NULL	NULL	NULL	NULL	6	Using temporary
userid	count(*)
3	3
2	1
1	2
userid	count(*)
3	3
1	2
userid	count(*)
3	3
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	range	spID	spID	5	NULL	2	where used; Using index; Using temporary
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	range	spID	spID	5	NULL	2	where used; Using index
spid	count(*)
1	1
2	2
spid	count(*)
2	2
1	1
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	ALL	NULL	NULL	NULL	NULL	6	Using filesort
spid	sum(userid)
5	3
4	3
3	3
2	3
1	1
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	index	NULL	score	3	NULL	6	Using index
score	count(*)
3	3
2	1
1	2
One	Two	sum(Four)
1	1	16
1	2	16
1	3	16
xID	xID1
1	1
2	2
2	2
3	134
3	134
3	134
4	185
4	185
4	185
4	185
xID	xID1	Level
1	1	*
2	2	**
3	134	***
4	185	****
pid	c1id	c2id	value	id	active	id	active
1	1	NULL	1	1	Yes	NULL	NULL
1	NULL	3	3	NULL	NULL	3	Yes
1	4	NULL	4	4	Yes	NULL	NULL
max(value)
4
a	count(*)
NULL	9
	3
b	1
a	count(*)
NULL	9
	3
b	1