The video address: http://pan.baidu.com/s/1slVvI8H password: 7e4n; PDF in the group file of QQ Group (668345923)This book mainly includes the installation and configuration of MySQL, database creation, data table creation, data types and operators,
First, mathematical functionsMathematical functions are mainly used for processing numbers, including integers, floating-point numbers, and so on.ABS (x)Returns the absolute value of XSELECT ABS (-1)--return 1Ceil (x), CEILING (x)Returns the
Http://www.cnblogs.com/xrq730/p/4943660.htmlObjectiveMySQL provides a number of powerful, easy-to-use functions, using these functions, can greatly improve the user's management efficiency of the database, thus more flexible to meet the needs of
This is a recent project about SQL statements, this article simply records and summarizes the following knowledge points:1. How to count the total number of a field in a table, such as the number of students in different "majors" and their
Parentheses (...) Compare functions and operators
=Equals
The null value is secure equal to
<>Or!=
And>
expr BETWEEN min AND max
COALESCE(value,...)Returns the first non-null value in a later argument list
First, mathematical functionsMathematical functions are mainly used for processing numbers, including integers, floating-point numbers, and so on.ABS (x)Returns the absolute value of XSELECT ABS (-1)--return 1Ceil (x), CEILING (x)Returns the
First, mathematical functions1 ABS (X) absolute value2 pi () π3 floor (x) maximum integer value less than x4 RAND ()| RAND (x) random number ; The X parameter produces the same random number at the same time.5 ROUND (x)| ROUND (x, y) rounding ; Y
First, mathematical functionsMathematical functions are mainly used for processing numbers, including integers, floating-point numbers, and so on.ABS (x)Returns the absolute value of XSELECT ABS (-1)--return 1Ceil (x), CEILING (x)Returns the
One, character functionsCharacter functions accept character arguments, which can be columns in a table or a string expression.Commonly used character functions:
Function
Description
ASCII (X)
Returns the ASCII
First, Oracle1. Oracle Services1) ORACLEDBCONSOLEORCLOracle Database Console service, ORCL is the instance identity of Oracle, and the default instance is ORCL.2) Oracleoradb11g_home1tnslistenerListener service, the service is only required if the
1. Mathematical FunctionsMathematical functions are mainly used to deal with numerical data, the main mathematical functions are: absolute value function, trigonometric function (including sine function, tangent function, cotangent function, etc.),
Take the whole function:1. Trunc (value,precision) intercepts a number by precision (precision) and does not perform rounding operations.Returns the X value of the truncated to Y decimal places: Trunc (X,[y]):select trunc(23.33) ------------232,
Tag: color equals mysq nbsp Large integer PNG return tag stringRequirements Description :Recently, when I wrote the MySQL program, I used the floor function, where the function was recorded.Operation Process :1. Testing using the floor functionMysql>
String functionsCONCAT (str1, str2 ...)----concatenate the incoming string into a new string, and any string and NULL join result is nullinsert (str, index, size, str1)----starting from index, altogether Si Ze characters, replaced by str1 SELECT
1, the Absolute function abs (x) and return pi function pi (x) ABS (x) returns the absolute value of XPi () returns the value of Pi, which is shown by default after 6 bits2, square root function sqrt (x) and the remainder function modSQRT (x)
First, mathematical functionsMathematical functions are mainly used for processing numbers, including integers, floating-point numbers, and so on.ABS (x)Returns the absolute value of XSELECT ABS (-1)--return 1Ceil (x), CEILING (x)Returns the
Keep a record of some grammar that may be used but easily forgotten.first, the common grammar1, "+": do not use string concatenation, only as an operator, other values +null or null2, CONCAT (value1, value2);3, ifnull (value, 0);4, Length (str),
Mysql has a self-information_schema database In addition to the database that was created . It provides a way to access the metadata, which is the description of the data.which holds about Information for all other databases maintained by the MySQL
The MySQL database provides a number of functions including:
Mathematical functions;
String functions;
Date and time functions;
conditional judgment function;
System Information function;
cryptographic functions;
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.