Skip to main content
SQL โ€ข LESSON 134

LOWER

How can we normalize email addresses to lowercase?

Advancedโฑ 3 Minutesโญ 1470 XP
๐Ÿค” THE QUESTION

How can we normalize email addresses to lowercase?

๐Ÿ’ก WHAT IS IT?

LOWER() converts string characters to lowercase for canonical storage and matching.

๐ŸŽฏ WHAT IS IT USED FOR?

Normalizing email logins, case-insensitive joins, URL slug generation.

๐Ÿ’ป EXAMPLE
SELECT LOWER(email) AS normalized_email
FROM employees;

๐ŸŽฏ Mission Objectives

Practice typing production-grade SQL code for LOWER.

  • โœ“ LOWER() function
  • โœ“ Email normalization
  • โœ“ Case-insensitive matching
  • โœ“ Data standardization