I have a table with the following data:
ID NAME ATTRIBUTE CODE
1 XX MM GC
1 XX ST GC
2 ZZ LL GC
2 ZZ ST GC
3 AA MM PC
I need a IDname from a table that contains either MMAttribute code , or GC, but not both. As in the request, you need to get the numbers IDonly 2 and 3, but not 1.
How to do it?
source
share