Skip to content

MySQL Tutorial

Learn MySQL

Menu
  • Home
  • Data types
  • Functions
    • Aggregate Functions
    • Cast Functions
    • Comparison Functions
    • DATE Functions
    • Flow Control Functions
    • Math functions
    • String Functions
    • Window Functions
    • REGEXP Functions
    • JSON Functions
    • XML Functions
    • Information Functions
    • Encryption Functions

Category: MySQL

Learn MySQL Tutorial

MySQL CASE function

January 3, 2024
| No Comments
| MySQL

The MySQL CASE function is a powerful function used for conditional logic within SQL queries. It allows you to perform conditional operations based on specified conditions and return different values depending on whether the conditions are met or not. The CASE function is often used in conjunction with the SELECT statement to create more flexible […]

Read More »

MySQL SHA2

January 2, 2024
| No Comments
| MySQL

The MySQL SHA2 function is used to generate a SHA-256 or SHA-512 hash value for a given string. This can be useful for storing sensitive information like passwords securely in a database, as the hash function converts the original data into a fixed-size string of characters that is typically considered irreversible. The SHA2 function is […]

Read More »

MySQL MD5

January 2, 2024
| No Comments
| MySQL

The MySQL MD5 function is a cryptographic hash function that produces a 128-bit hash value, typically expressed as a 32-character hexadecimal number. MD5 (Message Digest Algorithm 5) is commonly used for generating hash values from data, such as passwords or other sensitive information, for storage and comparison purposes. Use Cases: Password Hashing: The MD5 hash […]

Read More »

MySQL UPDATEXML

January 2, 2024
| No Comments
| MySQL

The MySQL UPDATEXML function is a powerful tool for modifying XML data within MySQL databases. It allows you to selectively replace portions of XML markup based on XPath expressions. This makes it a versatile and efficient way to update XML data stored in MySQL tables. Syntax Here is the basic syntax for the UPDATEXML function: […]

Read More »

MySQL EXTRACTVALUE

January 2, 2024
| No Comments
| MySQL

The EXTRACTVALUE function in MySQL is a useful function for extracting specific data from XML documents stored in the database. It utilizes XPath expressions to locate the desired data within the XML markup and returns the extracted text. This function plays a crucial role in integrating XML data into MySQL applications and retrieving meaningful information […]

Read More »

MySQL CONVERT

January 2, 2024
| No Comments
| MySQL

The MySQL CONVERT function is used to convert a value from one data type to another. It is particularly useful when you need to manipulate or present data in a different format or type. The primary use of the CONVERT function is to convert data types within MySQL statements. It allows you to change the […]

Read More »

Posts pagination

Previous 1 … 17 18 19 … 39 Next

MySQL tutorial

  • MySQL Database
  • MySQL Create table
  • MySQL Insert
  • MySQL Update
  • MySQL Delete
  • MySQL Select
  • MySQL From
  • MySQL Where
  • MySQL Order By
  • MySQL Select distinct
  • MySQL AND
  • MySQL OR
  • MySQL IN
  • MySQL NOT IN
  • MySQL BETWEEN
  • MySQL LIKE
  • MySQL LIMIT
  • MySQL EXISTS
  • MySQL GROUP BY
  • MySQL HAVING
  • MySQL IS NULL
  • MySQL Joins
  • MySQL INNER JOIN
  • MySQL LEFT JOIN
  • MySQL RIGHT JOIN
  • MySQL CROSS JOIN
  • MySQL SELF JOIN
  • MySQL ROLLUP
  • MySQL Subquery
  • MySQL UNION
  • MySQL UNION ALL
  • MySQL EXCEPT
  • MySQL CASE
  • MySQL IF-THEN-ELSE

Recent Posts

  • MySQL SUBDATE function
  • MySQL STR_TO_DATE function
  • MySQL convert string to date
  • MySQL datetime format
  • MySQL create temporary table
  • MySQL current datetime
  • MySQL TRUNCATE
  • MySQL SHOW EVENTS
  • MySQL ALTER EVENT
  • MySQL DROP EVENT

© MySQL Tutorial 2025.