質問するログイン新規登録

質問編集履歴

1

SQLが外部結合になっていなかったのを修正

2017/04/23 05:12

投稿

koji2017
koji2017

スコア30

title CHANGED
File without changes
body CHANGED
@@ -12,8 +12,8 @@
12
12
  ```SQL
13
13
  select *
14
14
  from tableA, tableB
15
- where tableA.key1 = tableB.key1
15
+ where tableA.key1 = tableB.key1(+)
16
- and tableA.key2 = tableB.key2
16
+ and tableA.key2 = tableB.key2(+)
17
17
  and tableB.key1 is null
18
18
  ```
19
19