Beginner SQL
Q14 / 100

What is the purpose of the LIMIT clause (or TOP in SQL Server)?

Correct! Well done.

Incorrect.

The correct answer is A) To restrict the maximum number of rows returned by a query

A

Correct Answer

To restrict the maximum number of rows returned by a query

Explanation

LIMIT n restricts the result set to at most n rows, commonly used for pagination or sampling.

Progress
14/100