TestingDocs.com
    Software Testing website
    • Automation
      • Selenium
      • JBehave Framework
    • Tutorials
      • MySQL Tutorials
      • Testlink
      • Maven
      • Git
    • IDEs
      • IntelliJ IDEA
      • Eclipse
    • Flowcharts
      • Flowgorithm
      • Raptor
    • About

    MySQL

    MySQL LOWER Function

    Overview

    In this tutorial, we will learn about MySQL LOWER Function with some examples. We can use this function to convert the characters in the given string to lowercase format.

    MySQL LOWER Function

    The LOWER() function returns the string with all characters in the lowercase.

    Syntax

    The general syntax of the function is as follows:

    LOWER(<string>)

    For example:

    LOWER(‘ABC’) will output ‘abc’

    Examples

    Let’s use the function and check the output of the function in this example.

    mysql> SELECT LOWER(‘MySQL Tutorials’);
    +————————–+
    | LOWER(‘MySQL Tutorials’) |
    +————————–+
    | mysql tutorials |
    +————————–+
    1 row in set (0.00 sec)

    MySQL LOWER Function

    In this example, we will convert the column values of a database table into lower case. Let’s use the Country database table from the world MySQL database. The column is the Name column that contains the country name. Since the table has many rows will filter the output to rows from the ‘North America’ continent.

    mysql> SELECT Name, LOWER(Name)
    -> FROM Country
    -> WHERE Continent=’North America’;

     

    MySQL LOWER function database examples

    —

    MySQL Tutorials

    MySQL Tutorials on this website:

    https://www.testingdocs.com/mysql-tutorials-for-beginners/

    For more information on MySQL Database:

    https://www.mysql.com/

    Related Posts

    Stellar Converter for Database

    MySQL /

    Stellar Converter for Database

    Stellar MySQL Log Analyzer

    MySQL /

    Stellar Log Analyzer for MySQL

    Stellar Repair for MySQL

    MySQL /

    Stellar Repair for MySQL

    MySQL /

    How to secure your SQL Database: Tips and Tricks

    Stellar Converter for Database

    MySQL /

    Database Converter Tools

    ‹ MySQL RPAD Function› MySQL UPPER Function

    Recent Posts

    • ChatGPT Subscription Plans
    • Stellar Converter for Database
    • Stellar Log Analyzer for MySQL
    • Stellar Repair for MySQL
    • ChatGPT Capabilities
    • How to secure your SQL Database: Tips and Tricks
    • ChatGPT4 Conversational AI Features
    • Shaping the Future of Development: Exploring Key Trends in Software Engineering
    • Improving Java Performance with Multithreading
    • Open-source Vector Databases

    Back to Top

    Links

    • Contact
    • Privacy Policy
    • Cookie Policy

    www.TestingDocs.com