I have two tables inside PostgreSQL that I want to combine. They look like this:
A B -------- a 0 b 1 c 2
A --- a b d
I want to result of the "combine" operation to look like the following:
A B -------- a 0 b 1 - 2 d -
How do I accomplish this in postgres and also pure SQL? It seems that none of the JOIN operations quite accomplish this.