Thank you very much for the advices. They have given to me deep insights about my problem. But I need to apologize I’ve not described the problem appropriately. I will try it again, here:
The complete table I have is like:
Fruit, colour, Id number of supermarket
I need to be able to select only the repeated fruits in two given supermarkets. So, if I have