You are on page 1of 3

KRISHNA ENGINEERING COLLEGE

(Approved by AICTE & Affiliated to Dr. APJ Abdul Kalam Technical University (Formerly UPTU), Lucknow)
Department of Computer Science and Engineering
Session 2022-23 ODD semester

Practical no……………………….Name of the practical…………………………………..


Student Roll no..…………………Student Name………………Semester/Batch………..

Aim: To Implement Aggregate Functions In SQL.


About: An aggregate function performs a calculation on a set of values, and returns a
single value. Except for COUNT(*) , aggregate functions ignore null values. Aggregate
functions are often used with the GROUP BY clause of the SELECT statement.
Types Of Aggregate Functions:
(a) Average: The AVG() function returns the average value of a numeric column.

(b) Count: The COUNT() function returns the number of rows that matches a specified
criterion.

Faculty Remarks & Signature


KRISHNA ENGINEERING COLLEGE
(Approved by AICTE & Affiliated to Dr. APJ Abdul Kalam Technical University (Formerly UPTU), Lucknow)
Department of Computer Science and Engineering

(c) Minimum: The MIN() function returns the minimum value of a numeric column.

Faculty Remarks & Signature


KRISHNA ENGINEERING COLLEGE
(Approved by AICTE & Affiliated to Dr. APJ Abdul Kalam Technical University (Formerly UPTU), Lucknow)
Department of Computer Science and Engineering
(d) Maximum: The Max() function returns the maximum value of a numeric column.

(e) Sum: The SUM() function returns the sum of all value of a numeric column.

Faculty Remarks & Signature

You might also like