Question:

With respect to SQL, match the function given in column-II with categories given in column-I :

Show Hint

COUNT() and SUM() are aggregate functions, ROUND() is a math function, RIGHT() is a text function, YEAR() is for dates.
Updated On: Jul 14, 2025
  • (i)-(c), (ii)-(d), (iii)-(a), (iv)-(b)
  • (i)-(b), (ii)-(a), (iii)-(d), (iv)-(c)
  • (i)-(d), (ii)-(b), (iii)-(a), (iv)-(c)
  • (i)-(b), (ii)-(c), (iii)-(d), (iv)-(a)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Let us match each function with the correct category.
ROUND() is a math function because it rounds numeric values.
COUNT() is an aggregate function because it counts rows or non-null values.
YEAR() is a date function because it extracts the year part from a date value.
RIGHT() is a text function because it extracts characters from the right side of a string.
So the correct matching is: (i)-(b), (ii)-(a), (iii)-(d), (iv)-(c).
Therefore, the correct option is (B).
Was this answer helpful?
0
0

Top Questions on SQL Queries

View More Questions