Aggregate Function
Aggregate Function
100 4000
100 5000
200 1000
200 2000
we can only group by what we select and we can order by what we grouped.
Group function:
i. MAX
ii. MIN
iii. AVG
iv. SUM
v. COUNT
Arguments:
Max()
(i) It accept one argument.
(ii) It used to return maximum value in the column.
SUM()