Sunteți pe pagina 1din 2

Aggregate functions

Calculation on a set of values & return a single value.

Note :-Ignore null values except count

It is used with the group by clause of the select statement

 What is are aggregate function


o avg
o Max
o Min
o Sum
o Count
o Count(*)
Ex:-<employee> table
Eid Ename age city salary

E0001 ravi 29 pune 20000

E0002 kumar 30 pune 30000

E0003 abhi ram 32 srikaulam 60000

E0004 uma 41 visakhapatnam 50000

S-ar putea să vă placă și