I have two tables (A and B) with two columns in common (x and y). I'd like to inner join A and B on x but keep only the values of A's column y (the left join). I'm looking for a way that will combine the two y columns (can't just specify A.y in the select statement). How can I do this?
Example
Table A
x y
1 2
3 4
5 6
7 8
Table B
x y
1 2
3 8
9 null
11 0
I'd like the resulting table to look like
x y
1 2
3 4