engineering computer science MCQ #737

What is the purpose of the LIMIT clause in SQL?

engineering computer science MCQ #737

  1. Question 1

    Q1. What is the purpose of the LIMIT clause in SQL?

    • A) To filter data
    • B) To sort data
    • C) To limit the number of rows returned
    • D) To join tables

    Answer: To limit the number of rows returned

    Explanation: The LIMIT clause limits the number of rows returned in the result set, allowing a specific number of rows to be retrieved.