I have a table like this:
|__ID__|__Key__|__Value__|
| 1 | AA | 2 |
| 2 | AA | 2 |
| 2 | BB | 2 |
| 2 | CC | 2 |
| 3 | BB | 2 |
| 3 | AA | 2 |
I'm trying to build a query that checks which IDs are missing the Key BB.
So in the example above I would en up with the result
|__ID__|
| 1 |
I've tried searching for similar questions here on StackOVerflow and other sites but I always end up with the result listing all ID rows that does not have the key BB. In the example above I'd get 1,2,2,3.