SQL分组查询,子查询

1: 分组函数/又称汇集函数 1.分组函数(默认状况下就是ALL)web AVG (DISTINCT |ALL| n) COUNT (DISTINCT |ALL| expr | *) // NULL不计算,但对数字0计算 MAX (DISTINCT |ALL| expr) MIN (DISTINCT |ALL| expr) SUM (DISTINCT |ALL| n) 2: 分组函
相关文章
相关标签/搜索