aggregation operation i sql code example
Example 1: how to use aggregate functions in sql
This is the example.Aggregate function is AVG.production.products is the table.
SELECT
AVG(list_price) avg_product_price
FROM
production.products;
Example 2: what is an aggregate in sql
--- GROUP FUNCTION | MULTI ROW FUNCTION | AGGREGATE FUNCTION
--- COUNT , MAX , MIN , SUM , AVG