1. Home
  2. Computer Science MCQs
  3. MySQL
  4. What SQL clause is used to restrict the rows returned by a…

Added 19 Jan 2024

What SQL clause is used to restrict the rows returned by a query?

  1. AND
  2. WHERE Correct answer
  3. HAVING
  4. FROM

Correct answer

B. WHERE

16 views

MCQSEXAM

Explanation

The SQL clause used to restrict the rows returned by a query is the WHERE clause. The WHERE clause is commonly used to filter records based on a specified condition, allowing you to retrieve only the rows that meet certain criteria.

SELECT column1, column2, ... FROM your_table WHERE your_condition;

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More MySQL MCQs

Practise all MySQL MCQs

Similar MCQs