# mysql的常用单词

# mysql的常用单词

table view trigger function event procedure
insert select modify unique fetch connect
delete alter reanme exists array declare
update change primary auto_increment assoc references

# mysql 的聚合函数

函数 说明
count([disetinct|all] *) 统计总数
sum([disetinct|all] <列名>) 统计综合
max([disetinct|all] <列名>) 最大值
main([disetinct|all] <列名>) 最小值
avg([disetinct|all] <列名>) 平均值