1667. Fix Names in a Table

윤지현·2024년 9월 23일

SQL(Programmers)

목록 보기
120/184
  • 문제
  • 정답
SELECT 
    user_id,
    CONCAT(
        UPPER(SUBSTRING(name, 1, 1)),
        LOWER(SUBSTRING(name, 2))
    ) AS name 
FROM Users
ORDER BY 1
  • 결과
profile
첫 시작

0개의 댓글