Which SQL function is used to find the maximum value in a column? MCQ with Answer and Explanation

Which SQL function is used to find the maximum value in a column?
A. AVG()
B. MIN()
C. MAX()
D. SUM()
Answer: Option C
Solution (By JKExamLibrary)
MAX() returns the highest value in a selected column.

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
The concept that prevents concurrent transactions from interfering with each other and creating data inconsistencies is known as what?
A. Atomicity
B. Durability
C. Isolation
D. Consistency

Correct Answer: Option C


Explanation:
Isolation ensures that the execution of concurrent transactions does not interfere with one another, making them appear as if they are executing sequentially.

This question belongs to: Computer Database Management System (DBMS)
Question #2 Report Error
What does the letter 'D' stand for in the widely accepted ACID properties of database transactions?
A. Definition
B. Durability
C. Dependency
D. Data

Correct Answer: Option B


Explanation:
ACID stands for Atomicity, Consistency, Isolation, and Durability. Durability ensures that once a transaction commits, its changes survive system failures.

This question belongs to: Computer Database Management System (DBMS)
Question #3 Report Error
Which of the following is a valid way to join three tables in SQL?
A. Both A and B
B. SELECT * FROM table1 JOIN table2 ON condition1 JOIN table3 ON condition2;
C. Neither
D. SELECT * FROM table1, table2, table3 WHERE condition1 AND condition2;

Correct Answer: Option A


Explanation:
Both syntaxes are valid: explicit JOIN syntax and implicit comma join with WHERE conditions.

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