数据库
首页 > 数据库> > MySQL

MySQL

作者:互联网

正则表达式:

%:匹配任意字符串

 

^以什么开头

 

 

 

 

 $以什么结尾

 

as 起别名

 

 

 max():最大值函数

 

 min():最小值函数

 

avg():平均值函数

 

 

 order by:默认排序

 

 asc:顺序

 

desc:先查询后排序

 

 

 sum():总数

 

distinct:去重

 

 

 

 

 group by:聚合函数,having与where的区别在于having和聚合函数搭配使用

 

 内连接:查询两个或两个以上共同拥有的数据

 

inner join ...on...:内连接,on后接公共内容

 

 

 

 

标签:...,聚合,函数,查询,MySQL,排序,having
来源: https://www.cnblogs.com/cccccc777777/p/16327393.html