开发者社区> 问答> 正文

how many Aggregate functions are available in SQL?

how many Aggregate functions are available in SQL?

展开
收起
1780169608831412 2021-10-16 14:25:13 531 0
1 条回答
写回答
取消 提交回答
  • 网络规划设计师、敏捷专家、CISP、ITSS服务经理、ACA全科目、ACP4项、ACE、CBP、CDSP、CZTP等。拥有 PRINCE2 Foundation/Practitioner、CCSK、ITIL、ISO27001、PMP等多项国际认证。 专利5+、期刊10+、知识产权师。核心期刊审稿人。

    SQL Aggregate functions determine and calculate values from multiple columns in a table and return a single value.

    There are 7 aggregate functions in SQL:

    AVG(): Returns the average value from specified columns.
    COUNT(): Returns number of table rows.
    MAX(): Returns the largest value among the records.
    MIN(): Returns smallest value among the records.
    SUM(): Returns the sum of specified column values.
    FIRST(): Returns the first value.
    LAST(): Returns last value.
    
    2021-10-16 15:19:30
    赞同 1 展开评论 打赏
问答分类:
SQL
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
SQL Server 2017 立即下载
GeoMesa on Spark SQL 立即下载
原生SQL on Hadoop引擎- Apache HAWQ 2.x最新技术解密malili 立即下载