MySQL数据库基本命令十
1、select sum(字段名) from 表名;(求和)表名为teacher

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

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

1、select sum(字段名) from 表名;(求和)表名为teacher
3、select min(字段名) from 表名;(最小值)表名为teacher
5、select count(*) from 表名;(统计记录行数)表名为teacher