Question:

Which of the following is not an aggregate function in SQL ?

Show Hint

Remember — string functions like LEFT(), RIGHT(), and SUBSTRING() work on each row, not on groups of rows.
Updated On: July 22, 2025
  • COUNT(*)
  • MIN()
  • LEFT()
  • AVG()
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

In SQL, aggregate functions perform a calculation on a set of values and return a single value as a result.
Common aggregate functions include COUNT(), MIN(), MAX(), SUM(), and AVG().
- COUNT(*) returns the total number of rows.
- MIN() returns the smallest value from a group.
- AVG() calculates the average of numeric values.
However, LEFT() is not an aggregate function.
LEFT() is a string function used to extract a specified number of characters from the left side of a string.
It operates row by row and does not summarize data across multiple rows.
Therefore, among the options given, LEFT() is the only one that is not an aggregate function.
Was this answer helpful?
0
0

Top Questions on SQL Queries

View More Questions

CBSE CLASS XII Notification