質問編集履歴

2

誤字の修正

2015/08/04 04:10

投稿

urdapple
urdapple

スコア83

test CHANGED
File without changes
test CHANGED
@@ -90,7 +90,7 @@
90
90
 
91
91
  case when sum(case when bid = 1 then 1 else null end) = 1 then 1 else 0 end as material_1,
92
92
 
93
- case when sum(case when bid = 2 then 1 else null end) = 1 then 1 else 0 end as material_2
93
+ case when sum(case when bid = 3 then 1 else null end) = 1 then 1 else 0 end as material_2
94
94
 
95
95
  from C
96
96
 

1

誤字の修正

2015/08/04 04:10

投稿

urdapple
urdapple

スコア83

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  材料として、りんご、はちみつを検索し、料理テーブルからカレーとアップルパイを引っ張りだすSQL文が浮かびません。
4
4
 
5
- 材料が少なければサブクエリを繋いで探す方法はなんとなーく浮かんですけれど、材料が増えてくるとその分だけサブクエリも増え、著しくレスポンスが悪くなる気がします。
5
+ 材料が少なければサブクエリを繋いで探す方法はなんとなーく浮かんだんですけれど、材料が増えてくるとその分だけサブクエリも増え、著しくレスポンスが悪くなる気がします。
6
6
 
7
7
 
8
8