Hi I recently started working as a software engineer so this question might be too noob but please bear with me.
I have three columns, let's say fruit, color, taste.
Fruit can have many colors and tastes. But one fruit which has a specific color should have a same taste. For example, (apple, red) should have only one taste. (apple, red, sour) and (apple, red, sweet) can't exist together.
The problem I have is my table contains multiple duplicate tastes with same fruit and color. I have tried different joins but got wrong results.
Sorry for such an awful description but if anyone could understand and help me I would really appreciate.