Just have a question for writing SQL.
In ORACLE DB, I have rows of different apples in one "APPLE" TABLE, where the "TAGS" holds all the features of this type of apple. For example:
NAME, TAGS
-----------
APPLE1, FUJI BOXED MEDIUM CALIFORNIA ...
APPLE2, ORGANIC GALA PER_POUND LARGE FLORIDA ...
APPLE3, RED_DELICIOUS MEDIA PACKED ORGANIC ...
APPLE4, LARGE RED_DELICIOUS Mexico ....
APPLE5, PACKED FUJI MEXICO LARGE
Now I want to have a SQL query to find out all rows with any given tag values, For example, "FUJI MEDIUM MEXICO ". How would this SQL be look like ?
This is related to one project I am working on. IN DB, the reason why I have one "TAG" COLUMN to keep all the features, instead of having separate columns, is because we know more and more new tag values will be introduced, so instead of adding more and more columns, we would like to keep them in one column, so that the code does not need to change every time.
Thanks,
Jack