I need to take an average of payment terms in the database and I came across the situation where the condition column is a string and it can receive parcel values separated by slash. I need to get the last value after the last bar, percent sign or value. Here is an example:
select '28/30/56', '10%60%30%', '12 dias'
from dual;
The output should be: 56, 30, 12 ...