:-: MySQL 函数
MySQL 数值型函数
| 函数名称 | 作 用 |
| --- | --- |
| [ABS](http://c.biancheng.net/mysql/abc.html) | 求绝对值 |
| [SQRT](http://c.biancheng.net/mysql/sqrt.html) | 求二次方根 |
| [MOD](http://c.biancheng.net/mysql/mod.html) | 求余数 |
| [CEIL 和 CEILING](http://c.biancheng.net/mysql/ceil_celing.html) | 两个函数功能相同,都是返回不小于参数的最小整数,即向上取整 |
| [FLOOR](http://c.biancheng.net/mysql/floor.html) | 向下取整,返回值转化为一个BIGINT |
| [RAND](http://c.biancheng.net/mysql/rand.html) | 生成一个0~1之间的随机数,传入整数参数是,用来产生重复序列 |
| [ROUND](http://c.biancheng.net/mysql/round.html) | 对所传参数进行四舍五入 |
| [SIGN](http://c.biancheng.net/mysql/sign.html) | 返回参数的符号 |
| [POW 和 POWER](http://c.biancheng.net/mysql/pow_power.html) | 两个函数的功能相同,都是所传参数的次方的结果值 |
| [SIN](http://c.biancheng.net/mysql/sin.html) | 求正弦值 |
| [ASIN](http://c.biancheng.net/mysql/asin.html) | 求反正弦值,与函数 SIN 互为反函数 |
| [COS](http://c.biancheng.net/mysql/cos.html) | 求余弦值 |
| [ACOS](http://c.biancheng.net/mysql/acos.html) | 求反余弦值,与函数 COS 互为反函数 |
| [TAN](http://c.biancheng.net/mysql/tan.html) | 求正切值 |
| [ATAN](http://c.biancheng.net/mysql/atan.html) | 求反正切值,与函数 TAN 互为反函数 |
| [COT](http://c.biancheng.net/mysql/cot.html) | 求余切值 |
MySQL 字符串函数
| 函数名称 | 作 用 |
| --- | --- |
| [LENGTH](http://c.biancheng.net/mysql/length.html) | 计算字符串长度函数,返回字符串的字节长度 |
| [CONCAT](http://c.biancheng.net/mysql/concat.html) | 合并字符串函数,返回结果为连接参数产生的字符串,参数可以使一个或多个 |
| [INSERT](http://c.biancheng.net/mysql/insert.html) | 替换字符串函数 |
| [LOWER](http://c.biancheng.net/mysql/lower.html) | 将字符串中的字母转换为小写 |
| [UPPER](http://c.biancheng.net/mysql/upper.html) | 将字符串中的字母转换为大写 |
| [LEFT](http://c.biancheng.net/mysql/left.html) | 从左侧字截取符串,返回字符串左边的若干个字符 |
| [RIGHT](http://c.biancheng.net/mysql/right.html) | 从右侧字截取符串,返回字符串右边的若干个字符 |
| [TRIM](http://c.biancheng.net/mysql/trim.html) | 删除字符串左右两侧的空格 |
| [REPLACE](http://c.biancheng.net/mysql/replace.html) | 字符串替换函数,返回替换后的新字符串 |
| [SUBSTRING](http://c.biancheng.net/mysql/substring.html) | 截取字符串,返回从指定位置开始的指定长度的字符换 |
| [REVERSE](http://c.biancheng.net/mysql/reverse.html) | 字符串反转(逆序)函数,返回与原始字符串顺序相反的字符串 |
MySQL 日期和时间函数
| 函数名称 | 作 用 |
| --- | --- |
| [CURDATE 和 CURRENT\_DATE](http://c.biancheng.net/mysql/curdate_current_date.html) | 两个函数作用相同,返回当前系统的日期值 |
| [CURTIME 和 CURRENT\_TIME](http://c.biancheng.net/mysql/curtime_current_time.html) | 两个函数作用相同,返回当前系统的时间值 |
| [NOW 和 SYSDATE](http://c.biancheng.net/mysql/now_sysdate.html) | 两个函数作用相同,返回当前系统的日期和时间值 |
| [UNIX\_TIMESTAMP](http://c.biancheng.net/mysql/unix_timestamp.html) | 获取UNIX时间戳函数,返回一个以 UNIX 时间戳为基础的无符号整数 |
| [FROM\_UNIXTIME](http://c.biancheng.net/mysql/from_unixtime.html) | 将 UNIX 时间戳转换为时间格式,与UNIX\_TIMESTAMP互为反函数 |
| [MONTH](http://c.biancheng.net/mysql/month.html) | 获取指定日期中的月份 |
| [MONTHNAME](http://c.biancheng.net/mysql/monthname.html) | 获取指定日期中的月份英文名称 |
| [DAYNAME](http://c.biancheng.net/mysql/dayname.html) | 获取指定曰期对应的星期几的英文名称 |
| [DAYOFWEEK](http://c.biancheng.net/mysql/dayofweek.html) | 获取指定日期对应的一周的索引位置值 |
| [WEEK](http://c.biancheng.net/mysql/week.html) | 获取指定日期是一年中的第几周,返回值的范围是否为 0〜52 或 1〜53 |
| [DAYOFYEAR](http://c.biancheng.net/mysql/dayofyear.html) | 获取指定曰期是一年中的第几天,返回值范围是1~366 |
| [DAYOFMONTH](http://c.biancheng.net/mysql/dayofmonth.html) | 获取指定日期是一个月中是第几天,返回值范围是1~31 |
| [YEAR](http://c.biancheng.net/mysql/year.html) | 获取年份,返回值范围是 1970〜2069 |
| [TIME\_TO\_SEC](http://c.biancheng.net/mysql/time_to_sec.html) | 将时间参数转换为秒数 |
| [SEC\_TO\_TIME](http://c.biancheng.net/mysql/sec_to_time.html) | 将秒数转换为时间,与TIME\_TO\_SEC 互为反函数 |
| [DATE\_ADD 和 ADDDATE](http://c.biancheng.net/mysql/date_add_adddate.html) | 两个函数功能相同,都是向日期添加指定的时间间隔 |
| [DATE\_SUB 和 SUBDATE](http://c.biancheng.net/mysql/date_sub_subdate.html) | 两个函数功能相同,都是向日期减去指定的时间间隔 |
| [ADDTIME](http://c.biancheng.net/mysql/addtime.html) | 时间加法运算,在原始时间上添加指定的时间 |
| [SUBTIME](http://c.biancheng.net/mysql/subtime.html) | 时间减法运算,在原始时间上减去指定的时间 |
| [DATEDIFF](http://c.biancheng.net/mysql/datediff.html) | 获取两个日期之间间隔,返回参数 1 减去参数 2 的值 |
| [DATE\_FORMAT](http://c.biancheng.net/mysql/date_format.html) | 格式化指定的日期,根据参数返回指定格式的值 |
| [WEEKDAY](http://c.biancheng.net/mysql/weekday.html) | 获取指定日期在一周内的对应的工作日索引 |
MySQL 聚合函数
| 函数名称 | 作用 |
| --- | --- |
| [MAX](http://c.biancheng.net/mysql/max.html) | 查询指定列的最大值 |
| [MIN](http://c.biancheng.net/mysql/min.html) | 查询指定列的最小值 |
| [COUNT](http://c.biancheng.net/mysql/count.html) | 统计查询结果的行数 |
| [SUM](http://c.biancheng.net/mysql/sum.html) | 求和,返回指定列的总和 |
| [AVG](http://c.biancheng.net/mysql/avg.html) | 求平均值,返回指定列数据的平均值 |
MySQL 流程控制函数
| 函数名称 | 作用 |
| --- | --- |
| [IF](http://c.biancheng.net/mysql/if.html) | 判断,流程控制 |
| [IFNULL](http://c.biancheng.net/mysql/ifnull.html) | 判断是否为空 |
| [CASE](http://c.biancheng.net/mysql/case.html) | 搜索语句 |
- HTML
- 讯飞插件
- Python
- 王者荣耀
- demo_cg.py
- demo_cg_TT.py
- img.py
- MySQL
- 清空表数据
- ID自增长重置
- 用户密码及权限操作
- 外键在数据库中的作用
- MySQL增删改查语句
- DDL-数据库操作
- DDL-表操作-查询
- DDL-表操作-创建
- DDL-表操作-数据类型
- DDL-表操作-修改
- DDL-表操作-删除
- DML-语句
- DML-添加数据
- DML-修改数据
- DML-删除数据
- DQL-语法
- DQL-基本查询
- DQL-条件查询
- DQL-聚合函数
- DQL-分组查询
- DQL-排序查询
- DQL-分页查询
- DCL-介绍
- DCL-管理用户
- DCL-权限控制
- 函数
- JS
- ajax
- ajax get请求
- ajax post提交
- ajax 同时上传文本和文件到数据库(inpt text和input file)
- 路径传值+接收解析
- js 本地sessionStorage
- js Excel导出.xls
- 二维码生成插件
- VUE-CLI4
- 安装手脚架及插件
- ECharts-数据可视化
- element-ui-时间戳
- qrcode二维码生成插件
- vuedraggable-拖拽组件
- vue-drag-resize-自由拖拽、缩放组件
- gitee配置
- src
- plugins
- element.js
- echartsMixin.js
- views
- login
- login.vue
- btn.vue
- home
- home.vue
- Welcome.vue
- user
- users.vue
- router
- main.js
- App.vue
- 引入语法
- 获取路径传值
- ajax请求
- token语法
- NPM更换镜像方案
- PHP
- PHP 微信网页登录
- PHP 判断函数
- PHP 获取微信公众号openid
- PHP 实现发送模板消息(微信公众号版)
- PHP 阳历阴历转换计算生肖闰年
- PHP 接口数组形式
- PHP 同文件夹下顺序命名
- PHP 输出文件
- PHP E-mail发送
- PHP cURL资源
- PHP 远程访问控制服务器
- PHP 8.0 开启mysqli扩展
- PHP 使用 OSS 批量上传图片
- PHP md5 加密与解密
- ThinkPHP
- PT6
- TP6安装多应用
- TP5
- view渲染模板常见语法
- Visual Studio Code
- 介绍
- 插件-eslint
- vs code插件
- VSCode添加自定义模板
- SFTP
- md格式的文档
- mermaid
- frp内网穿透
- 自定义端口
- ui-china.cn
- 常用软件
- 框架
- 服务器
- 微信小程序
- 云函数 Email
- 参数传递
- 其他
- VMware虚拟机centos7设置静态ip 连接外网