回答編集履歴

1

追加

2016/08/26 03:21

投稿

A.Ichi
A.Ichi

スコア4070

test CHANGED
@@ -13,3 +13,19 @@
13
13
  from alertatble;
14
14
 
15
15
  ```
16
+
17
+
18
+
19
+ 表題はCOUNTでした。
20
+
21
+ ```sql
22
+
23
+ select count(case when alert in (32,02,13) then 0 else null end) as count1,
24
+
25
+ count(case when alert in (33,03,10) then 0 else null end) as count2,
26
+
27
+ count(case when alert in (35,05,15) then 0 else null end) as count3
28
+
29
+ from alertatble;
30
+
31
+ ```