赞
踩
Here is the list of all important MySQL functions. Each function has been explained along with suitable example.
这是所有重要MySQL功能的列表。 每个功能已与适当的示例一起进行了说明。
MySQL Group By Clause − The MySQL GROUP BY statement is used along with the SQL aggregate functions like SUM to provide means of grouping the result dataset by certain database table column(s).
MySQL Group By子句 -MySQL GROUP BY语句与SQL聚合函数(如SUM)一起使用,以提供按某些数据库表列对结果数据集进行分组的方法。
MySQL IN Clause − This is a clause, which can be used along with any MySQL query to specify a condition.
MySQL IN子句 -这是一个子句,可与任何MySQL查询一起使用以指定条件。
MySQL BETWEEN Clause − This is a clause, which can be used along with any MySQL query to specify a condition.
MySQL BETWEEN子句 -这是一个子句,可与任何MySQL查询一起使用以指定条件。
MySQL UNION Keyword − Use a UNION operation to combine multiple result sets into one.
MySQL UNION关键字 -使用UNION操作将多个结果集组合为一个。
MySQL COUNT Function − The MySQL COUNT aggregate function is used to count the number of rows in a database table.
MySQL COUNT函数 -MySQL COUNT聚合函数用于计算数据库表中的行数。
MySQL MAX Function − The MySQL MAX aggregate function allows us to select the highest (maximum) value for a certain column.
MySQL MAX函数 -MySQL MAX聚合函数使我们能够为特定列选择最高(最大值)值。
MySQL MIN Function − The MySQL MIN aggregate function allows us to select the lowest (minimum) value for a certain column.
MySQL MIN函数 -MySQL MIN聚合函数使我们可以为特定列选择最低(最低)值。
MySQL AVG Function − The MySQL AVG aggregate function selects the average value for certain table column.
MySQL AVG函数 -MySQL AVG聚合函数选择某些表列的平均值。
MySQL SUM Function − The MySQL SUM aggregate function allows selecting the total for a numeric column.
MySQL SUM函数 -MySQL SUM聚合函数允许为数字列选择总计。
MySQL SQRT Functions − This is used to generate a square root of a given number.
MySQL SQRT函数 -用于生成给定数字的平方根。
MySQL RAND Function − This is used to generate a random number using MySQL command.
MySQL RAND函数 -用于使用MySQL命令生成随机数。
MySQL CONCAT Function − This is used to concatenate any string inside any MySQL command.
MySQL CONCAT函数 -用于连接任何MySQL命令中的任何字符串。
MySQL DATE and Time Functions − Complete list of MySQL Date and Time related functions.
MySQL日期和时间函数 -MySQL日期和时间相关函数的完整列表。
MySQL Numeric Functions − Complete list of MySQL functions required to manipulate numbers in MySQL.
MySQL String Functions − Complete list of MySQL functions required to manipulate strings in MySQL.
MySQL字符串函数 -操作MySQL中的字符串所需MySQL函数的完整列表。
翻译自: https://www.tutorialspoint.com/mysql/mysql-useful-functions.htm
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。