User-submitted email addresses sometimes arrive with inconsistent casing. Before sending a batch email campaign, a company might normalize every address to lowercase so that deduplication and lookups behave consistently. Using the users table, return id, name, and email_normalized — the email address converted to all lowercase. Sort results by id.
users
| column | type |
|---|---|
| id | INTEGER |
| name | TEXT |
| TEXT |
| id | name | |
|---|---|---|
| 1 | Alice | Alice@Gmail.COM |
| 2 | Bob | BOB@YAHOO.COM |
| 3 | Carol | carol@outlook.com |
| id | name | email_normalized |
|---|---|---|
| 1 | Alice | alice@gmail.com |
| 2 | Bob | bob@yahoo.com |
| 3 | Carol | carol@outlook.com |
LOWER() converts every character in the email to lowercase. Emails already in lowercase are unchanged.