Aggregate functions

427 views

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
427
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Aggregate functions

  1. 1. AGGREGATE FUNCTIONS 1
  2. 2. Aggregate Functions COUNTCalculates the number of rowsreturned by a query. Syntax: COUNT (expr) 2
  3. 3. Aggregate Functions SUMReturns the sum of a set of valuescontained in a specified column on aquery. Syntax: SUM (expr) 3
  4. 4. Aggregate Functions AVGReturns the average of the values in agroup. Null values are ignored. Syntax: AVG (expr) 4
  5. 5. Aggregate Functions MAXReturns the highest value in a group. Syntax: MAX (expr) 5
  6. 6. Aggregate Functions MINReturns the lowest value in a group. Syntax: MIN (expr) 6

×