• Like
Aggregate functions
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Aggregate functions

  • 247 views
Published

 

Published in Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
247
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

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