Skip to content

2504. Concatenate the Name and the Profession 👍

1
2
3
4
5
SELECT
  person_id,
  CONCAT(name, '(', LEFT(profession, 1), ')') name
FROM Person
ORDER BY 1 DESC;