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 ADDDATE

January 1, 2024
| No Comments
| MySQL

The MySQL ADDDATE function is a date and time function that allows you to add a specified time interval to a date or datetime value. This function is particularly useful when you need to perform calculations involving date and time in your MySQL queries. Syntax The syntax for the ADDDATE function is as follows: ADDDATE(date, […]

Read More »

MySQL CURDATE

January 1, 2024
| No Comments
| MySQL

The MySQL CURDATE function is a date and time function that returns the current date without a time component. It is commonly used when you need to work with date values and want to obtain the current date for various purposes in a MySQL query or script. Syntax The syntax for the CURDATE function is […]

Read More »

MySQL DATEDIFF

January 1, 2024
| No Comments
| MySQL

The MySQL DATEDIFF function is a useful tool for calculating the difference between two dates. It returns the difference in days between two date values, allowing you to determine the gap between them. Syntax The syntax for the DATEDIFF function is as follows: DATEDIFF(date1, date2) Here, date1 and date2 are the two date values you […]

Read More »

MySQL DATE_FORMAT

January 1, 2024
| No Comments
| MySQL

The DATE_FORMAT function in MySQL is a powerful tool for formatting date and time values according to a specified format. This function is particularly useful when you need to present date and time information in a customized way, such as changing the order of elements or including additional text. Syntax Here is the basic syntax […]

Read More »

MySQL NOW

January 1, 2024
| No Comments
| MySQL

The MySQL NOW() function is a date and time function used to retrieve the current date and time from the system. It is often utilized in SQL queries to insert or update records with the current timestamp or to retrieve data based on the current date and time. Here’s a brief overview of the MySQL […]

Read More »

MySQL SQRT

January 1, 2024
| No Comments
| MySQL

The MySQL SQRT function is used to calculate the square root of a given numeric value. The square root is a mathematical operation that, when applied to a number, yields a result such that, when multiplied by itself, the original number is obtained. In the context of MySQL, the SQRT function provides a convenient way […]

Read More »

Posts pagination

Previous 1 … 25 26 27 … 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.