I have a following string in my table in the following format:
APPLE- GREEN- 40%; BANANA- YELLOW- 15%; APPLE- RED – 25%; GRAPES- GREEN – 20%
I want a output as:
Output
APPLE – 65%
Which is the sum of %quantity purchased of total.
oracle-12c
I have a following string in my table in the following format:
APPLE- GREEN- 40%; BANANA- YELLOW- 15%; APPLE- RED – 25%; GRAPES- GREEN – 20%
I want a output as:
APPLE – 65%
Which is the sum of %quantity purchased of total.
Best Answer