I have the following database table
tbl_setup
id
peer
gw
I have the following records in there
1 | HA | GW1
2 | HA | GW2
3 | HA | GW3
4 | AA | GW1
5 | AB | GW2
6 | AB | GW3
7 | AB | GW4
8 | EE | GW3
Trying to figure out a query to find out which GW are missing data so trying to figure out a query to give me the following results, these would be the GW's missing
HA | GW4
AA | GW2
AA | GW3
AA | GW4
AB | GW1
EE | GW1
EE | GW2
EE | GW4
There should only be 4 GW's GW1 - GW4, will never be more than that
peerandgwcolumn.