• + 0 comments

    select concat(name,'(',upper(left(occupation,1)),')') from occupations order by name asc;

    select concat('There are a total of ',total,' ',lower(occupation),'s.') from (select count(occupation) as total,occupation from occupations group by occupation) as B order by total asc,occupation asc;