手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

MySQL数据库基本命令十

时间:2024-10-29 16:54:34

1、select sum(字段名) from 表名;(求和)表名为teacher

MySQL数据库基本命令十

2、select max(字段名) from 表名;(最大值)表名为teacher

MySQL数据库基本命令十

3、select min(字段名) from 表名;(最小值)表名为teacher

MySQL数据库基本命令十

4、select avg(字段名) from 表名;(平均值)表名为teacher

MySQL数据库基本命令十

5、select count(*) from 表名;(统计记录行数)表名为teacher

MySQL数据库基本命令十

6、select count(字段名) from 表名;(统计字段值的数目)表名为teacher

MySQL数据库基本命令十
© 手抄报圈