Query an alphabetically ordered list of all names in OCCUPATIONS, immediately followed by the first letter of each profession as a parenthetical (i.e.: enclosed in parentheses).
For example:
AnActorName(A), ADoctorName(D), AProfessorName(P), and ASingerName(S)
Query the number of occurrences of each occupation in OCCUPATIONS. Sort the occurrences in ascending order, and output them in the following format:
SELECT name||'('||SUBSTR(occupation, 1, 1)||')'
FROM occupations
ORDER BY name
UNION
SELECT "There are a total of"|| count(*) from occupations group by occupation;