0% found this document useful (0 votes)
5 views4 pages

SQL Aggregate Functions

Uploaded by

Anum Masood
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
5 views4 pages

SQL Aggregate Functions

Uploaded by

Anum Masood
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 4

 Tutorials  Exercises  Certificates  Services  Search...

HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C

SQL Tutorial
1. SQL
1. SQL DISTINCT
DISTINCT
SQL HOME
2. TOP
2. TOP CODING
CODING RESOURCES
RESOURCES AND
AND TOOLS
TOOLS
SQL Intro
SQL Syntax

SQL Aggregate
SQL Select
SQL Select Distinct
SQL Where
SQL Order By
SQL And
Functions
SQL Or
‹ Previous Next ›
SQL Not
SQL Insert Into
SQL Null Values
SQL Update SQL Aggregate Functions
SQL Delete
SQL Select Top An aggregate function is a function that performs a
SQL Aggregate Functions calculation on a set of values, and returns a single
SQL Min and Max value.
SQL Count
Aggregate functions are often used with the GROUP
SQL Sum
BY clause of the SELECT statement. The GROUP
SQL Avg
BY clause splits the result-set into groups of
SQL Like
values and the aggregate function can be used to
SQL Wildcards return a single value for each group.
SQL In
SQL Between The most commonly used SQL aggregate functions
are:
SQL Aliases
SQL Joins MIN() - returns the smallest value within
SQL Inner Join the selected column
SQL Left Join MAX() - returns the largest value within the
SQL Right Join selected column
SQL Full Join COUNT() - returns the number of rows in a
SQL Self Join set
SUM() - returns the total sum of a numerical
SQL Union
column
SQL Group By
AVG() - returns the average value of a
SQL Having
numerical column
numerical column
SQL Exists
SQL Any, All Aggregate functions ignore null values (except for
SQL Select Into COUNT() ).
SQL Insert Into Select
We will go through the aggregate functions above
SQL Case
SQL Null Functions in the next chapters.
SQL Stored Procedures
SQL Comments
SQL Operators ‹ Previous Next ›

SQL Database
SQL Create DB W3schools
SQL Drop DB Pathfinder
SQL Backup DB Track
SQL Create Table
SQL Drop Table
your
Sign Up Log in
SQL Alter Table progress
SQL Constraints - it's
SQL Not Null free!
SQL Unique
SQL Primary Key
SQL Foreign Key
SQL Check
SQL Default
SQL Index
SQL Auto Increment
SQL Dates
SQL Views
SQL Injection
SQL Hosting
SQL Data Types  PLUS SPACES

SQL References
SQL Keywords  GET CERTIFIED
MySQL Functions 
SQL Server Functions 
MS Access Functions 
SQL Quick Ref
FOR TEACHERS FOR BUSINESS

SQL Examples
SQL Examples
SQL Examples
SQL Editor
CONTACT US
SQL Quiz
SQL Exercises
SQL Server Top Tutorials
SQL Bootcamp
HTML Tutorial
SQL Certificate CSS Tutorial
JavaScript Tutorial
How To Tutorial
SQL Tutorial

Python Tutorial
W3.CSS Tutorial
Bootstrap Tutorial
PHP Tutorial
Java Tutorial
C++ Tutorial
jQuery Tutorial

Top References
HTML Reference
CSS Reference
JavaScript Reference
SQL Reference
Python Reference
W3.CSS Reference
Bootstrap Reference
PHP Reference
HTML Colors
Java Reference
Angular Reference
jQuery Reference

Top Examples
HTML Examples
CSS Examples
JavaScript Examples
How To Examples
SQL Examples
Python Examples
W3.CSS Examples
Bootstrap Examples
PHP Examples
Java Examples
XML Examples
jQuery Examples

Get Certified
HTML Certificate
CSS Certificate
JavaScript Certificate
Front End Certificate
SQL Certificate
Python Certificate
PHP Certificate
jQuery Certificate
Java Certificate
nd

ll

o have
vacy

You might also like