MYSQL functions and mysql Functions

Source: Internet
Author: User
Tags mysql functions

MYSQL functions and mysql Functions

Here is a list of all important MySQL functions. An example is provided to illustrate each function.

  • MySQL Group By clause-MySQL group by statement and SQL aggregate function, used to Group result datasets using columns similar to SUM in some database tables

  • MySQL IN clause-this is a clause that can be used together with any MySQL query statement to specify conditions

  • MySQL BETWEEN clause-this is a clause that can be used to specify conditions with any MySQL query.

  • MySQL UNION keyword-use UNION to combine multiple result sets into one result set

  • MySQL COUNT () function-MySQL's COUNT aggregate function is used to calculate the number of rows in a database table

  • MySQL MAX () function-MySQL MAX aggregate function allows us to select the highest (maximum) value of some columns

  • MySQL MIN () function-MySQL MIN aggregate function allows us to select the lowest (minimum) value of some columns

  • MySQL AVG () function-MySQL AVG aggregate function is used to calculate its average value for columns in some tables.

  • MySQL SUM () function-MySQL SUM aggregate function allows you to select the SUM of a column

  • MySQL SQRT function-this is used to generate the square root of a given number

  • MySQL RAND () function-use the MySQL command to generate a random number

  • MySQL CONCAT () function-this is used to connect any string in the MySQL Command

  • MySQL DATE and Time DATE functions-Complete list of functions related to MySQL DATE and Time

  • MySQL numeric functions-Complete list of MySQL functions that operate numbers in MySQL

  • MySQL string functions-a complete list of MySQL functions operated by strings in MySQL

 

Address: http://www.manongjc.com/mysql/mysql_all_functiona.html

For more mysql function instances:

Mysql rounds a value.

Mysql ROUND () function rounding

How to Use the random number function rand () in MySQL

How to Use the RAND () function to generate a random number instance in mysql

Mysql RAND () function usage and Examples

Mysql PI () function to obtain the circumference rate value

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.