JAVA开发经常使用数据库技术——组函数和分组查询

-- 组函数 -- 1)COUNT() 统计行数 -- 2)AVG() 平均值 -- 3)SUM() 求和 -- 4)MAX() 最大值 -- 5)MIN() 最小值函数 -- count() 函数 select count(*) from scott.emp;对象 -- sum() 函数 select sum(sal) from scott.emp;select -- avg() 函数 -- 平
相关文章
相关标签/搜索