0% found this document useful (0 votes)
14 views13 pages

Dbms

The document discusses aggregation operators in SQL, which perform calculations on multiple values to return a single summarizing value, including functions like COUNT, SUM, AVG, MIN, and MAX. It highlights the advantages of aggregation functions, such as summarization and ease of use, as well as their disadvantages, including loss of detail and potential oversimplification. The applications of these operators span various fields, including business intelligence, financial analysis, and data mining.

Uploaded by

sruthireddyk0491
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views13 pages

Dbms

The document discusses aggregation operators in SQL, which perform calculations on multiple values to return a single summarizing value, including functions like COUNT, SUM, AVG, MIN, and MAX. It highlights the advantages of aggregation functions, such as summarization and ease of use, as well as their disadvantages, including loss of detail and potential oversimplification. The applications of these operators span various fields, including business intelligence, financial analysis, and data mining.

Uploaded by

sruthireddyk0491
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

DEPT.

OF ELECTRONICS AND COMMUNICATION ENGINEERING


CMR TECHNICAL CAMPUS
UGC Autonomous Institute
Accredited by NBA and NAAC with A Grade

DATA BASE MANAGEMENT SYSTEM

AGGREGATIO
N
OPERATORS PRESENTED BY:
K.SRUTHI
227R1A0490
ECE-B
INTRODUCTION:

Aggregation operators
An aggregate operators in performs a calculation on
multiple values and returns a single summarizing value. SQL
provides many aggregate operators that include avg , count,
sum, min, max, etc. An aggregate function ignores NULL
values when it performs the calculation ,except for the count
function.
We often use aggregation functions with the GROUPBY and
HAVING clauses of the SELECT statement.
Various types of SQL aggregate
operators are:
Count()
Sum()
Avg ()
Min()
Max()
COUNT FUNCTION
 The COUNT() function returns the number of rows in a database
table.
 Syntax:
count(expression)
 Example:
SUM FUNCTION
 The SUM() function returns the total sum of a numeric column in a
database table.
 Syntax:
sum(expression)
 Example:
AVG FUNCTION
 The AVG() function returns the average value of a numeric column
in a database table.
 Syntax:
avg(expression)
 Example:
MIN FUNCTION
 The MIN() aggregate function returns the lowest value(minimum) in
a set of non NULL values.
 Syntax:
min(expression)
 Example:
MAX FUNCTION
 The MAX() aggregate function returns the highest value(maximum)
in a set of non NULL values.
 Syntax:
max(expression)
 Example:
Advantages :
•Summarization: Aggregation functions provide a concise
summary of large datasets, making it easier to understand and
analyze the data.
•Simplicity: They simplify data analysis by condensing complex
information into a single value or a small set of values.

•Consistency: Aggregation functions provide consistent results,


regardless of the size or structure of the dataset.

•Ease of Use: They are straightforward to use, making them


accessible to both technical and non-technical users for data
analysis.
Disadvantages :
•Loss of Detail: Aggregation functions condense data, potentially leading to
loss of detail and important nuances present in the original dataset.
•Limited Analysis: Aggregation functions may not provide enough detail for
certain types of analysis, especially when exploring relationships within the
data.
•Inflexibility: Once data is aggregated, it may become challenging to extract
specific details or perform certain types of analysis.
•Over-Simplification: Aggregation functions can sometimes oversimplify
complex data relationships, leading to potentially misleading conclusions if
not used judiciously
Applications :
 Business intelligent and data warehousing
 Financial analysis
 Statistical analysis
 Data mining and machine learning
 Web Analytics
 Supply Chain Management
 Social Media Analytics
CONCLUSION:
•Aggregation operators are essential for combining
and summarizing data from various sources .They
help us reach conclusions or making decisions by
providing a collective preference relation.

You might also like