Which of the following is not an aggregate function in SQL? MCQ with Answer and Explanation

Which of the following is not an aggregate function in SQL?
A. MAX
B. DESC
C. SUM
D. AVG
Answer: Option B
Solution (By JKExamLibrary)
DESC is a keyword for sorting order, not an aggregate function.

This question belongs to: Computer Database Management System (DBMS)

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1 Report Error
Which of the following is a property of a well-designed database?
A. All of the above
B. Ease of data maintenance
C. Avoidance of data redundancy
D. Support for efficient data retrieval

Correct Answer: Option A


Explanation:
Good database design aims to minimize redundancy, simplify maintenance, and provide efficient access.

This question belongs to: Computer Database Management System (DBMS)
Question #2 Report Error
What is a self join?
A. Joining a table with itself
B. Joining tables without a common column
C. Joining two different tables
D. Joining more than two tables

Correct Answer: Option A


Explanation:
A self join is a join where a table is joined with itself, often used to compare rows within the same table.

This question belongs to: Computer Database Management System (DBMS)
Question #3 Report Error
Which database anomaly describes the necessity to update the exact same data value in multiple independent rows, creating a risk of data inconsistency?
A. Update Anomaly
B. Structural Anomaly
C. Selection Anomaly
D. Insertion Anomaly

Correct Answer: Option A


Explanation:
An Update Anomaly occurs when data is redundantly duplicated across rows, requiring changes to be made to every copy, risking inconsistencies if any row is missed.

This question belongs to: Computer Database Management System (DBMS)