Question 1
user_6227789376
mysql
11/19/2021 9:47 AM
360 B
15
Indexable
-- Medium
-- Question 1 (the Paid):
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;
Editor is loading...