Hi I have a table test as below
NAME --------- abc1234 XYZ12789 a12X8b78Y9c5Z
I try to find out the count of number of numbers and characte
@alfasin answer is good, but if you're using 11g then it can get simpler:
select name, REGEXP_count(name,'\d') as num_count, REGEXP_count(name,'[a-zA-Z]') as char_count, from test6;