Skip to content

Commit 5c39ad9

Browse files
authored
Create Fix Names in a Table.sql
1 parent 6ce57a5 commit 5c39ad9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

easy/Fix Names in a Table.sql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--1667. Fix Names in a Table--
2+
# Write your MySQL query statement below
3+
SELECT user_id,
4+
CONCAT(UPPER(SUBSTR(name,1,1)),
5+
LOWER(SUBSTR(name,2,length(name)))
6+
) AS name
7+
8+
FROM Users
9+
10+
ORDER BY user_id;

0 commit comments

Comments
 (0)