🚨 Get Your Free NFT Certificate Mint by Completing the Web3 Exam! START NOW

Code has been added to clipboard!

Learn Using SQL Lowercase Function in Databases and Servers

Reading time 1 min
Published Aug 9, 2017
Updated Oct 11, 2019

SQL Lowercase Function: Main Tips

  • This function changes the text field value to lowercase.

Lowercase Function

Syntax of SQL LOWER

Example
SELECT LOWER(col_name) FROM tbl_name;
DataCamp
Pros
  • Easy to use with a learn-by-doing approach
  • Offers quality content
  • Gamified in-browser coding experience
  • The price matches the quality
  • Suitable for learners ranging from beginner to advanced
Main Features
  • Free certificates of completion
  • Focused on data science skills
  • Flexible learning timetable
Udacity
Pros
  • Simplistic design (no unnecessary information)
  • High-quality courses (even the free ones)
  • Variety of features
Main Features
  • Nanodegree programs
  • Suitable for enterprises
  • Paid Certificates of completion
Udemy
Pros
  • Easy to navigate
  • No technical issues
  • Seems to care about its users
Main Features
  • Huge variety of courses
  • 30-day refund policy
  • Free certificates of completion

Syntax of SQL Server

Example
SELECT LOWER(col_name) FROM tbl_name;

Demo Database

In the below table there is a piece of  "Customer" table:

ID Name Contact Address City Postal_Code Country
1 Ben Choplinks Ben Choplink Obeesre Str. 51 Rome 11207 Italy
2 Donald Rich Donald Richario Avda. de la Confgfstitución 4122 Tallin 17021 Estonia
3 Lilly Smilkins Lilly Smilkin Matadsderos 2312 Eguero 14023 Mexico
4 Brandinina Tom Hitchins 110 Hanegover Sq. London WB2 2DP UK
5 Carizmos Christiano Kerrys Berguvsesvägen 9 Luleå S-968 43 Sweden

SQL LOWER: Example

In the code example below we pick out columns "CustomersName" and "CityID" in the table "Customer" and change the "CustomersName" to lowercase:

Example
SELECT LOWER(Name) AS Customers, City
FROM Customers;