Table A
Id Name
1 Apple
2 Mango
Table B
Id Locale Name_In_Lang
1 es-ES Apple[Spanish]
1 it-IT Apple[Italian]
2 it-IT Mango[Italian]
Join the table and get the following output:
Id Locale Name_In_Lang Name
1 Apple
1 es-ES Apple[Spanish] Apple
1 it-IT Apple[Italian] Apple
2 Mango
2 it-IT Mango[Italian] Mango
I have the following query...
Select a.id, b.locale, b.name_in_lang, a.name
from TableA a
Left Outer Join TableB b on ( a.id = b.id)
... and I only get:
Id Locale Name_In_Lang Name
1 es-ES Apple[Spanish] Apple
1 it-IT Apple[Italian] Apple
2 it-IT Mango[Italian] Mango
Any suggestions ?