MySQL MIN () function usage tutorial, mysqlmin
MySQL MIN function is used to find the minimum value of a record set.
The EMPLOYEE_TBL table for MIN functions has the following records:
mysql> SELECT * FROM employee_tbl;+------+------+------------+---
The Min function of MySQL is used to find a record of the minimum value of a recordset.
To understand the Employee_tbl table that the Min function considers has the following records:
Mysql> SELECT * from EMPLOYEE_TBL;
+------+------+-------
MySQL learning footprint record 10 -- Summary Data -- MAX (), MIN (), AVG (), SUM (), COUNT () bitsCN.com
MySQL learning footprint record 10 -- Summary Data -- MAX (), MIN (), AVG (), SUM (), COUNT ()
Data used in this article
mysql> SELECT prod_
MySQL learning footprint record 10 -- Summary Data -- data used in this article, such as MAX (), MIN (), AVG (), SUM (), and COUNT ()
mysql> SELECT prod_price FROM products;+------------+| prod_price |+------------+| 5.99 || 9.99 ||
After the avg (), count (), min () max (), sum () functions of mysql are familiar with the simplest SQL statements, do you think the cmd form is particularly appealing to tao Huan (yan )!
Of course, we have a more intuitive and easy way to use
Current number of APIs 49 common calculations (one) min-find the minimum max-find the maximum abs-absolute value round-rounding the floating-point numbers ceil-returns the smallest integer greater than or equal to the specified expression, and the
MySQL Study Notes summary, mysql Study Notes
Slow SQL: A Query whose execution time exceeds the specified time range is called a slow query.In MySQL, how does one record slow SQL statements?A: You can set the following information in my.
Original: Linux C language Operation MySQLIntroduction to 1.MySQL DatabasesMySQL is an open source code of small relational database management system, small size, fast, low overall cost, open source. MySQL has the following features:(1) Use C and C
DAYOFWEEK (date)Returns the day of the Week index (1= Sunday, 2 = Monday, ... 7= Saturday). These index values correspond to the ODBC standard.Mysql> Select DAYOFWEEK (' 1998-02-03 ');3
DayOfMonth (date)Returns the date of the month in the range
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.