summaryrefslogtreecommitdiff
path: root/mysql-test/r/order_by.result
blob: f6fc3b6090af86c245e8242a171ee6c8eca3e47c (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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
id	idservice	ordre	description
2	1	10	Emettre un appel d'offres
2	3	40000	Créer une fiche de client
2	4	40010	Modifier des clients
2	5	40020	Effacer des clients
2	6	51050	Ajouter un service
2	7	51060	Liste des t2
name
Allan Larsson
David Axmark
Michael Widenius
name
Axmark David
Larsson Allan
Widenius Michael
i
1
2
3
i
1
3
2
i
3
2
1
i
3
2
1
i
2
1
3
id	col1	col2
4	1	1
3	1	2
5	1	4
2	2	1
1	2	2
6	2	3
8	2	4
7	3	1
col1
2
2
1
1
1
2
3
2
id
1
1
1
2
2
2
2
3
id
2
2
1
1
1
2
3
2
test
1
2
3
7
a	b	if(b = 1,i,if(b = 2,v,''))
1	1	50
2	1	25
3	2	123 Park Place
4	2	453 Boardwalk
a	b	if(b = 1,i,if(b = 2,v,''))
1	1	50
2	1	25
3	2	123 Park Place
4	2	453 Boardwalk
DateOfAction	TransactionID
1999-07-18	486
1999-07-19	87
1999-07-19	89
1999-07-19	92
1999-07-19	94
1999-07-27	828
1999-07-27	832
1999-07-27	834
1999-07-27	840
2000-03-27	490
2000-03-28	753
DateOfAction	TransactionID
1999-07-19	87
1999-07-19	89
1999-07-19	92
1999-07-19	94
1999-07-18	486
2000-03-27	490
2000-03-28	753
1999-07-27	828
1999-07-27	832
1999-07-27	834
1999-07-27	840
member_id	nickname	voornaam
1		
2		
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	range	a	a	20	NULL	2	where used; Using index
a	b	c
1	NULL	b
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	range	a	a	4	NULL	10	where used; Using index
a	b	c
2	3	c
2	2	b
2	2	a
2	1	b
2	1	a
1	3	b
1	1	b
1	1	b
1	1	NULL
1	NULL	b
1	NULL	NULL
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	ref	a	a	4	const	5	where used; Using index; Using filesort
a	b	c
1	3	b
1	1	NULL
1	1	b
1	1	b
1	NULL	NULL
1	NULL	b
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	ref	a	a	9	const,const	2	where used; Using index; Using filesort
a	b	c
1	NULL	NULL
1	NULL	b
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	range	a	a	9	NULL	8	where used; Using index; Using filesort
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	range	a	a	9	NULL	5	where used; Using index
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	ref	a	a	9	const,const	1	where used; Using index; Using filesort
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	range	a	a	9	NULL	6	where used; Using index
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	range	a	a	9	NULL	5	where used; Using index
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	range	a	a	9	NULL	2	where used; Using index; Using filesort
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	index	NULL	a	18	NULL	11	Using index
a	b	c
1	0	
1	0	b
1	1	
1	1	b
1	1	b
1	3	b
2	1	a
2	1	b
2	2	a
2	2	b
2	3	c
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	index	NULL	a	18	NULL	11	Using index
a	b	c
2	3	c
2	2	b
2	2	a
2	1	b
2	1	a
1	3	b
1	1	b
1	1	b
1	1	
1	0	b
1	0	
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	range	a	a	18	NULL	3	where used; Using index
a	b	c
1	1	b
1	1	b
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	range	a	a	4	NULL	6	where used; Using index
a	b	c
1	1	b
1	1	b
1	1	
1	0	b
1	0	
count(*)
9
a	b	c
2	3	c
2	2	b
2	2	a
2	1	b
2	1	a
1	3	b
1	1	b
1	1	b
1	1	
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	range	a	a	8	NULL	10	where used; Using index
a	b	c
2	1	b
2	1	a
1	1	b
1	1	b
1	1	
1	0	b
1	0	
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	range	a	a	4	NULL	5	where used; Using index
a	b	c
1	3	b
1	1	b
1	1	b
1	1	
1	0	b
1	0	
gid	sid	uid
104620	5	15
103867	5	27
103962	5	27
104619	5	75
104505	5	117
103853	5	250
gid	sid	uid
104620	5	15
103867	5	27
103962	5	27
104619	5	75
104505	5	117
103853	5	250
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	index	PRIMARY	PRIMARY	4	NULL	6	Using index
t2	eq_ref	PRIMARY,uid	PRIMARY	4	t1.gid	1	
t3	eq_ref	PRIMARY	PRIMARY	2	t2.uid	1	where used; Using index
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	index	PRIMARY	PRIMARY	4	NULL	6	Using index
t3	eq_ref	PRIMARY	PRIMARY	2	t1.gid	1	where used
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	index	PRIMARY	PRIMARY	4	NULL	6	Using index; Using temporary; Using filesort
t2	eq_ref	PRIMARY,uid	PRIMARY	4	t1.gid	1	
t3	eq_ref	PRIMARY	PRIMARY	2	t2.uid	1	where used; Using index
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	index	PRIMARY	PRIMARY	4	NULL	6	Using index; Using temporary; Using filesort
t3	eq_ref	PRIMARY	PRIMARY	2	t1.gid	1	where used
table	type	possible_keys	key	key_len	ref	rows	Extra
t1	ALL	NULL	NULL	NULL	NULL	6	Using temporary; Using filesort
t3	eq_ref	PRIMARY	PRIMARY	2	t1.skr	1	where used