質問編集履歴

1

質問修正

2015/06/07 10:10

投稿

imamoto_browser
imamoto_browser

スコア1161

test CHANGED
@@ -1 +1 @@
1
- derivedのエラーが出る
1
+ ERROR 1248 (42000): Every derived table must have its own aliasのエラーが出る
test CHANGED
@@ -1,4 +1,4 @@
1
- select scores.id,name,score,deviation from (select score,deviation from scores where score >30) union all(select score,deviation from scores left join students on scores.id = students.id where name like %suzuki%) as uni;
1
+ select scores.id,score,deviation from (select score,deviation from scores where score >30) union all(select score,deviation from scores left join students on scores.id = students.id where name like %suzuki%) as uni;
2
2
 
3
3
 
4
4