I have table A that looks like this :
id | name |
---|---|
a1 | A1 |
a2 | A2 |
b2 | B2 |
and table B that looks like this:
volume_id | volume_name |
---|---|
a1 | A1 |
b1 | B1 |
b2 | B2 |
I want to make a query (or multiple) that would give me the id (or volume_id as they represent the same thing ) that exists in table A but not table B and vice versa.
I am using psql as my postgres cli.