Consider the following table 'CUET':
CUET
ROLLNO MARKS 1 10 2 10
Which of the following SQL statements will give same output?
(A) SELECT MAX(MARKS)FROM CUET;
(B) SELECT MIN(MARKS)FROM CUET;
(C) SELECT AVG(MARKS)FROM CUET;
(D) SELECT SUM(MARKS)FROM CUET;
Consider the following table 'CUET':
CUET
| ROLLNO | MARKS |
|---|---|
| 1 | 10 |
| 2 | 10 |
Which of the following SQL statements will give same output?
(A) SELECT MAX(MARKS)FROM CUET;
(B) SELECT MIN(MARKS)FROM CUET;
(C) SELECT AVG(MARKS)FROM CUET;
(D) SELECT SUM(MARKS)FROM CUET;
Solution
✅ Correct Option: 2
Both rows have the same marks, 10, so the three statements give the same value:
MAX(MARKS) = 10
MIN(MARKS) = 10
AVG(MARKS) =
SUM(MARKS) = , which differs from the others.
Option 1: SUM adds both rows and returns 20, so it does not match the rest.
Related questions:
2026: 31 May Shift 1
2026: 21 May Shift 1
2025: 16 May Shift 1
2025: 30 May Shift 2
2025: 3 June Shift 2