To convert or change the value of a field from uppercase to lowercase, the LCASE() function is used.

 

SQL LCASE() Syntax is as follows:

Select LCASE(column_name)

From table_name;

 

Let us consider the below Students table:

roll_no

Name

total_marks

(out of 600)

percentage

grade

1

Ashok

392

65.33

B

2

Chaitali

454

75.67

A

3

Smriti

502

83.60

A

4

Kaushik

337

56.10

C

 

The following SQL statement selects the ‘name’ column from the Students table, and converts the column to lowercase:

Example:

SELECT LCASE(name)
From Students;

 

The result will be as follows:

Name

ashok

chaitali

smriti

kaushik