回答編集履歴
1
訂正
test
CHANGED
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
```SQL
|
6
6
|
|
7
|
-
SELECT Max(case when hoge=4 then hoge end) as hoge4
|
7
|
+
SELECT Max(case when hoge='4' then hoge end) as hoge4
|
8
8
|
|
9
|
-
, Max(case when hoge=8 then hoge end) as hoge8
|
9
|
+
, Max(case when hoge='8' then hoge end) as hoge8
|
10
10
|
|
11
|
-
, Max(case when hoge=6 then hoge end) as hoge6
|
11
|
+
, Max(case when hoge='6' then hoge end) as hoge6
|
12
12
|
|
13
13
|
FROM abc
|
14
14
|
|