• + 1 comment

    Please correct the answer. select concat(name,'('||x||')') from( select name,substring(occupation,1,1) x from occupations);

    select 'There are a total of', ab, o from( select count(occupation) over(partition by occupation) ab,lower(occupation)||'s' o from occupations) order by ab ;