Vidyalelo
Database · Q53

Introduction to SQL

Programming · Database · question 53

Q53

SUM, AVG, MIN, and MAX can only be used with numeric columns.

A.
True
Answer
B.
False

Answer: Option A

Solution

Answer: Option A
Solution:
Option A: True - The SQL aggregate functions SUM, AVG, MIN, and MAX are designed to operate on numeric columns or expressions. They calculate totals, averages, minimum values, and maximum values respectively for the specified numeric data in a column. These functions are not applicable to non-numeric data types such as text or date columns.

Conclusion:
The statement "SUM, AVG, MIN, and MAX can only be used with numeric columns" is Option A: True. Hence, the correct answer is True.