• + 1 comment

    Why the hell is Samantha showing Samantha(A) she's a doctor. ??

    Select Concat(name,'(',substr(occupation,1,1),')') as List from occupations order by name;
    
    
    Select CONCAT('There are a total of ', COUNT(occupation), ' ', occupation) as 'amount' from occupations group by occupation order by COUNT(*), occupation