Hi,
I am wondering if we can use decode/sign functions to achieve the following. If so I would like to know how without using stored procedures.
Depending on a person's age, I need to determine the person's AGE_GROUP. I will be decoding AGE and I need the AGE_GROUP in the below ranges.
Example:
AGE_GROUP (VARCHAR2)
<20
21-40
41-60
61-80
81-100
100
How best can I achieve this? Thanks in advance