回答編集履歴
1
typo
test
CHANGED
@@ -10,11 +10,11 @@
|
|
10
10
|
|
11
11
|
(2,1,4),
|
12
12
|
|
13
|
-
(3,1,
|
13
|
+
(3,1,1),
|
14
14
|
|
15
|
-
(4,1,
|
15
|
+
(4,1,2),
|
16
16
|
|
17
|
-
(5,2,
|
17
|
+
(5,2,2),
|
18
18
|
|
19
19
|
(6,2,2),
|
20
20
|
|
@@ -26,9 +26,9 @@
|
|
26
26
|
|
27
27
|
select * from tbl
|
28
28
|
|
29
|
-
where key1=1 or key2=
|
29
|
+
where key1=1 or key2=1
|
30
30
|
|
31
|
-
order by key2=
|
31
|
+
order by key2=1 desc,key1
|
32
32
|
|
33
33
|
limit 3
|
34
34
|
|