Sort by

recency

|

5327 Discussions

|

  • + 0 comments

    SELECT CONCAT(name,'(', SUBSTRING(occupation, 1, 1), ')') FROM occupations order by name asc; select "There are a total of ", count(occupation), concat(occupation,'s.') from occupations group by occupation order by count(occupation) asc;

  • + 0 comments

    Select concat(name,'(',upper(left(Occupation,1)),')') from OCCUPATIONS order by name ;

    select Concat('There are a total of ',count(Occupation),' ',lower(Occupation),'s','.') from OCCUPATIONS group by Occupation order by 1;

  • + 0 comments

    SELECT CONCAT(Name,'(',LEFT(occupation,1),')') FROM OCCUPATIONS ORDER BY Name ASC;

    SELECT CONCAT("There are a total of ",COUNT(occupation),' ',LOWER(occupation),'s.') from occupations GROUP BY Occupation ORDER BY COUNT(occupation) ASC;

  • + 0 comments

    Select concat(name,'(',upper(left(Occupation,1)),')') from OCCUPATIONS order by 1 ;

    select Concat('There are a total of ',count(Occupation),' ',lower(Occupation),'s','.') from OCCUPATIONS group by Occupation order by 1;

  • + 0 comments

    SQL server: Select concat(name,'(',left(occupation,1),')') from occupations order by name asc; select concat('There are a total of ',count(occupation), ' ',Lower(occupation), 's.') from occupations group by occupation order by count(occupation),occupation asc