
- Learn MySQL
- MySQL - Home
- MySQL - Introduction
- MySQL - Installation
- MySQL - Administration
- MySQL - PHP Syntax
- MySQL - Connection
- MySQL - Create Database
- MySQL - Drop Database
- MySQL - Select Database
- MySQL - Data Types
- MySQL - Create Tables
- MySQL - Drop Tables
- MySQL - Insert Query
- MySQL - Select Query
- MySQL - Where Clause
- MySQL - Update Query
- MySQL - Delete Query
- MySQL - Like Clause
- MySQL - Sorting Results
- MySQL - Using Join
- MySQL - NULL Values
- MySQL - Regexps
- MySQL - Transactions
- MySQL - Alter Command
- MySQL - Indexes
- MySQL - Temporary Tables
- MySQL - Clone Tables
- MySQL - Database Info
- MySQL - Using Sequences
- MySQL - Handling Duplicates
- MySQL - SQL Injection
- MySQL - Database Export
- MySQL - Database Import
- MySQL Useful Resources
- MySQL - Useful Functions
- MySQL - Statements Reference
- MySQL - Quick Guide
- MySQL - Useful Resources
- MySQL - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
MySQL - Aggregate Functions
In general, aggregation is a consideration of a collection of objects that are bound together as a single entity. MySQL provides a set of aggregate functions that perform operations on all the entities of the column of a table considering them as a single unit. Following are the MySQL aggregate functions −
Sr.No. | Name & Description |
---|---|
1 | AVG()
This function is used to calculate the average value. |
2 | BIT_AND()
This function is used to calculate the bitwise AND value. |
3 | BIT_OR()
This function is used to calculate the bitwise OR value. |
4 | BIT_XOR()
This function is used to calculate the bitwise XOR value. |
5 | COUNT()
This function is used to count the number of rows returned. |
6 | GROUP_CONCAT()
This function returns the concatenated string. |
7 | JSON_ARRAYAGG()
This function returns the given values as a single JSON array. |
8 | JSON_objectAGG()
This function returns the given values as a single JSON object. |
9 | MAX()
This function returns the maximum value. |
10 | MIN()
This function returns the minimum value. |
11 | STD()
This function calculates and returns the population standard deviation. |
12 | STDDEV()
This function calculates and returns the population standard deviation. |
13 | STDDEV_POP()
This function calculates and returns the population standard deviation. |
14 | STDDEV_SAMP()
This function calculates and returns the sample standard deviation. |
15 | SUM()
This function is used to calculate the sum of the values. |
16 | VAR_POP()
This function calculates and returns the population standard variance. |
17 | VAR_SAMP()
This function calculates and returns the sample variance. |
18 | VARIANCE
This function calculates and returns the population standard variance. |