当前位置:网站首页>SQL function
SQL function
2022-06-26 09:44:00 【Guobao】
SQL Definition of function :
SQL There are many built-in functions for counting and calculation .
SQL Syntax of functions :
SELECT function( Column name ) FROM The name of the table SQL Type of function :
stay SQL in , There are several basic types and types of functions , The basic type of function is :
- Aggregate function
- Scalar function
1、SQL Medium Aggregate functions ( Aggregate function ) and Scalar function
2、SQL in AVG function ( You can return the average value of a numeric column )
3、SQL Medium COUNT() function ( You can return a function that matches a specified condition )
4、SQL Medium FIRST() function ( You can return the value of the first record in the specified field )
5、SQL Medium LAST() function ( You can return the value of the last record in the specified field )
6、SQL Medium MAX() function ( You can return the largest value in a column ,NULL Values are not included in the calculation )
7、SQL Medium MIN() function ( You can return the smallest value in a column ,NULL Values are not included in the calculation )
8、SQL Medium SUM() function ( Can return the total number of numeric columns )
9、SQL Medium GROUP BY sentence ( Used to combine the total function ( for example :SUM() function ), Group result sets according to one or more columns
10、SQL Medium HAVING sentence ( stay SQL add HAVING Clause because WHERE Keyword cannot be used with aggregate function )
11、SQL Medium UCASE() function ( This function converts the value of a field to uppercase )
12、SQL Medium LCASE() function ( This function converts the value of a field to lowercase )
13、SQL Medium MID() function ( This function can extract characters from text fields )
14、SQL Medium LEN() function ( This function can return the length of the value in the text field )
15、SQL Medium ROUND() function ( This function rounds the numeric field to the specified number of decimal places )
16、SQL Amount in NOW() function ( This function can return the current date and time )
17、SQL Medium FORMAT() function ( This function can format the display of fields )
边栏推荐
- SQL高级教程
- Logical English structure [key points]
- Badge series 4: use of circle Ci
- How does flutter transfer parameters to the next page when switching pages?
- OpenCV depthframe -> pointcloud 导致 segmentation fault!
- PHP extracts TXT text to store the domain name in JSON data
- c语言语法基础之——指针( 多维数组、函数、总结 ) 学习
- 【CVPR 2021】 Lifelong Person Re-Identification via Adaptive Knowledge Accumulation
- 教你用shell脚本检测服务器程序是否在运行
- npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.npm ER
猜你喜欢

How to create an IE tab in edge browser

深度学习(初识tensorflow2.版本)之三好学生成绩问题(1)

"One week's work on Analog Electronics" - diodes

online trajectory generation

Joint Noise-Tolerant Learning and Meta Camera Shift Adaptation for Unsupervised Person Re-ID

Mysql database field query case sensitive setting

Industrial and enterprise patent matching data (hundreds of thousands of data) 1998-2014

欧冠比赛数据集(梅西不哭-离开巴萨也可能再创巅峰)

Board end power hardware debugging bug

Redis 新手入门
随机推荐
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.npm ER
SQL query duplicate record
Badge series 5: use of codecov
Comprehensive interpretation! Use of generics in golang
Regular expression learning
[trajectory planning] testing of ruckig Library
Badge collection 6:api\_ Use of level
"One week's work on Analog Electronics" - integrated operational amplifier
Js--- get the data with the same key value in the object array to get a new array
Champions League data set (Messi doesn't cry - leaving Barcelona may reach another peak)
LeetCode 958. 二叉树的完全性校验
thinkphp5手动报错
深度学习(初识tensorflow2.版本)之三好学生成绩问题(1)
pcl install
Abnormal record-23
install opencv-contrib-dev to use aruco code
【CVPR 2021】Intra-Inter Camera Similarity for Unsupervised Person Re-Identification (IICS++)
Industrial and enterprise patent matching data (hundreds of thousands of data) 1998-2014
【Open5GS】Open5GS安装配置
Catalogue gradué de revues scientifiques et technologiques de haute qualité dans le domaine de l'informatique