• + 3 comments

    This worked for me:

    select name||'(' || substr(Occupation,1,1) ||')' as Name from occupations order by Name asc;

    select 'There are total' || ' ' || count(occupation) || ' ' || lower(occupation) || 's.' as total from occupations group by occupation order by total;