Lets look at a table structure like this one:
| Item |
Type |
| 111 |
A |
| 111 |
B |
| 222 |
A |
| 222 |
B |
| 222 |
C |
What I am trying to achieve is that if in the table any ITEM has all the 3 TYPE records then let it stay - otherwise if it just has less than 3 table records delete all those.
Is there any easier way to achieve this except using multiple select statements.
Not looking for spoonfeeding, just a showing the right path would be sufficient.
thanks in advance.
*This post is locked for comments
I have the same question (0)