Skip to main content
Admissions guidance, study banks, and career tools โ€” get started on Shalyam

Fix Name Capitalisation

Names were stored with inconsistent capitalisation. Return id and name where only the first letter is uppercase and the rest lowercase, ordered by id.

Table schema

Users(id INT PRIMARY KEY, name VARCHAR(50))

Sample data

id | name
1 | aLiCe
2 | BOB

Discussion

No discussions yet.

Rewards ยท v2.1

Join Shalyam Newsletter

Get exclusive insights with every issue: education, research and innovation news.

One email a week. Unsubscribe any time.