Medium - Q1

Anonymous
sql
11/14/2021 6:53 AM
328 B
24
Indexable
select Name || '(' || left(Occupation,1) || ')' from OCCUPATIONS order by Name;
select 'There are a total of ' || count(Occupation) || ' ' || lower(Occupation) || 's.' from OCCUPATIONS group by Occupation order by count(Occupation), Occupation;
Editor is loading...