Q.Which aggregate function in SQL returns the smallest value from a column in a table ? (A) MIN() (B) MAX() (C) SMALL() (D) LOWER()
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →The aggregate function that returns the smallest value from a column in SQL is MIN().
In SQL, aggregate functions are used to perform calculations on a set of rows and return a single summary value. They are a core part of querying databases, especially when you need to analyse data — finding totals, averages, counts, or extremes. Among these, the function that specifically returns the smallest value from a column is MIN().
The MIN() function works on numeric, date, or text columns. For text, it returns the value that comes first alphabetically. For dates, it returns the earliest date. This makes it versatile for many real-world queries — for example, finding the lowest price in a products table, the earliest order date, or the shortest employee name.
The MIN() function ignores NULL values by default. If a column has NULLs, they are simply not considered in the result.
Let’s look at the options given:
- (A) MIN() — Correct. This is the standard SQL aggregate function for the smallest value.
- (B) MAX() — Returns the largest value, not the smallest.
- (C) SMALL() — This is not a valid SQL aggregate function. No such function exists in standard SQL or in any major database system. …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.