You are viewing a single comment's thread. Return to all comments →
Concat: is a function that joins (concatenates) multiple strings together.
LEFT: to extract a specified number of characters from the left (beginning) side of a string.
LOWER: Converts the occupation name to lowercase
SELECT Concat(NAME, '(', LEFT(occupation, 1), ')') FROM occupations ORDER BY NAME; SELECT CONCAT('There are a total of ', COUNT(*), ' ', LOWER(Occupation), 's.') FROM OCCUPATIONS GROUP BY Occupation ORDER BY COUNT(Occupation) ASC, Occupation ASC;
Seems like cookies are disabled on this browser, please enable them to open this website
The PADS
You are viewing a single comment's thread. Return to all comments →
Concat: is a function that joins (concatenates) multiple strings together.
LEFT: to extract a specified number of characters from the left (beginning) side of a string.
LOWER: Converts the occupation name to lowercase