Question:easy

Match List-I with List-II
List-I
AGGREGATE FUNCTIONS
List-II
DESCRIPTION
(A) COUNT()(I) Returns the average of the values in a specified column
(B) AVG()(II) Returns the number of records in a table
(C) COUNT(*)(III) Truncate numerical values to a specified position
(D) ROUND()(IV) Returns the number of values in a specified column, ignoring NULL values
Choose the correct answer from the options given below:

Show Hint

COUNT(*) counts rows, COUNT(column) skips NULLs, AVG gives mean, ROUND fixes decimal places.
Updated On: Oct 1, 2026
  • (A) - (IV), (B) - (III), (C) - (II), (D) - (I)
  • (A) - (II), (B) - (I), (C) - (IV), (D) - (III)
  • (A) - (IV), (B) - (I), (C) - (II), (D) - (III)
  • (A) - (IV), (B) - (I), (C) - (III), (D) - (II)
Show Solution

The Correct Option is C

Solution and Explanation

Step 1: What the question asks.
We match four SQL functions with their descriptions.

Step 2: Use a sample table.
Let a column MARKS hold 10, 20, NULL, 30 in four rows. We run each function on it.

Step 3: Run COUNT and COUNT(*).
COUNT(MARKS) gives 3, because the NULL is skipped. COUNT(*) gives 4, because it counts every record. So A goes with IV and C goes with II.

Step 4: Run AVG.
AVG(MARKS) gives $(10+20+30)/3 = 20$. It is the mean of the column values, so B goes with I.

Step 5: Run ROUND.
ROUND(15.678, 1) gives 15.7. It adjusts a number to a given position, so D goes with III.

Step 6: Compare the options.
Only option 3 has A-IV, B-I, C-II and D-III together. Every other option breaks at least one of these pairs.

Step 7: Why each wrong option fails.
Option 1 swaps AVG with ROUND, so it says AVG truncates numbers and ROUND gives an average. Option 2 says COUNT of a column gives the record count and COUNT(*) ignores NULLs, which is the reverse of the real rule. Option 4 gives COUNT(*) the truncation job and ROUND the record count. Each of these breaks at least one pair, so they are wrong.

Final Answer:
The matches are A-IV, B-I, C-II, D-III, option 3. \[ \boxed{(A) - (IV), (B) - (I), (C) - (II), (D) - (III)} \]
Was this answer helpful?
0


Questions Asked in CUET (UG) exam