overDeveloper
Programmer
I am inner joining to a table that may or may not have corresponding records. For example, say I have the following tables
TableA
id col1
1 aa
2 bb
3 cc
4 dd
5 ee
TableB
id Aid col1
1 3 xx
2 4 yy
I want to do a join with b from a but I want to get ALL of A's records and add in B's values when they are there. When I do just a straight inner join I get only a.id = 3 and a.id = 4
TableA
id col1
1 aa
2 bb
3 cc
4 dd
5 ee
TableB
id Aid col1
1 3 xx
2 4 yy
I want to do a join with b from a but I want to get ALL of A's records and add in B's values when they are there. When I do just a straight inner join I get only a.id = 3 and a.id = 4