Curriculum
Course: MYSQL
Login

Curriculum

MYSQL

MySQL References

0/140
Text lesson

LOWER

Example

Change the text to lowercase.

SELECT LOWER(“SQL Tutorial is FUN!”);  

Definition and Usage

The LOWER() function converts a string to lowercase.

It’s worth noting that the LCASE() function is synonymous with the LOWER() function.

Syntax

LOWER(text)

Parameter Values

Parameter

Description

text

Input required: The string to be converted to lowercase.

Technical Details

Works in: From MySQL 4.0

More Examples

Example

Transform the text in the “CustomerName” column to lowercase.

SELECT LOWER(CustomerName) AS LowercaseCustomerName
FROM Customers;