I have 2 tables as follows:
| Table 1 | Table 2
| Column 1 | Column 2 | Column 1
|----------|----------|---------
|c1 |v1 | v1
|c1 |v2 | v2
|c1 |v4 | v3
|c2 |v2 | v4
|c2 |v7 | v5
|c3 |v1 | v6
|c3 |v3 | v7
|c3 |v4
|c3 |v6
I would like to "outer join" them per group to get the following result
| Column 1 | Column 2
|----------|---------
|c1 |v3
|c1 |v5
|c1 |v6
|c1 |v7
|c2 |v1
|c2 |v3
|c2 |v4
|c2 |v5
|c2 |v6
|c3 |v2
|c3 |v5
|c3 |v7
Essentially finding every value in table 2 that does not match in table 1 by its group, in this scenario being column 1.
My initial attempts of joining the 2 tables doesn't seem to yield the results I'm after eg:
SELECT * FROM
Table1 T1
FULL OUTER JOIN Table2 T2 on t1.Column2 = t2.Column1
where t1.column1 is null