回答編集履歴

1

typo

2017/01/30 00:15

投稿

yuba
yuba

スコア5568

test CHANGED
@@ -10,6 +10,6 @@
10
10
 
11
11
  where exists(select user_id from users_groups ug1 where ug1.user_id = 1 and ug1.group_id = g.group_id)
12
12
 
13
- and exists(select user_id from users_groups ug2 where ug1.user_id = 2 and ug2.group_id = g.group_id)
13
+ and exists(select user_id from users_groups ug2 where ug2.user_id = 2 and ug2.group_id = g.group_id)
14
14
 
15
15
  ```