I have a table called DUMMY_TAB
which has a column COLOR
which contains comma separated values as RED,BLUE,WHITE,GREEN,YELLOW
. Now i want to check whether multiple colors are present or not and i don't know the order in which values are stored.
I have used query like:
SELECT COLOR from DUMMY_TAB WHERE (COLOR LIKE '%GREEN%' OR COLOR LIKE '%VOILET%' OR COLOR LIKE '%ORANGE%');
but query is not returning anything. can i get any help here.