回答編集履歴
1
ちょうせい
test
CHANGED
@@ -7,3 +7,15 @@
|
|
7
7
|
inner join scores on users.id=scores.user_id and scores.score>=80
|
8
8
|
|
9
9
|
```
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
# 追記
|
14
|
+
|
15
|
+
```SQL
|
16
|
+
|
17
|
+
delete from users
|
18
|
+
|
19
|
+
where exists (select 1 from scores where users.id=user_id and score>=80)
|
20
|
+
|
21
|
+
```
|