arrow
arrow
arrow
Which keyword is used with the WHERE clause in SQL to compare multiple values?
Question



Which keyword is used with the WHERE clause in SQL to compare multiple values?

A.

IN

B.

BETWEEN

C.

LIKE

D.

HAVING

E.

EXISTS

Correct option is A

The IN keyword is used with the WHERE clause to compare multiple values.
Important Key Points:
1. The IN keyword allows specifying multiple values in a WHERE clause, enabling filtering of rows that match any value in the list.
2. Example: SELECT * FROM table_name WHERE column_name IN (value1, value2);
Knowledge Booster:
· BETWEEN is used to filter rows based on a range of values.
· LIKE is used for pattern matching with wildcards.
· HAVING is used for filtering groups, not individual rows, in conjunction with aggregate functions.
· EXISTS checks for the existence of rows in a subquery.

Free Tests

Free
Must Attempt

RBI Asst Prelims 2026: Quant Advance level Test 01

languageIcon English
  • pdpQsnIcon35 Questions
  • pdpsheetsIcon35 Marks
  • timerIcon20 Mins
languageIcon English
Free
Must Attempt

RBI Asst Prelims 2026: Reasoning Advance level Test 01

languageIcon English
  • pdpQsnIcon35 Questions
  • pdpsheetsIcon35 Marks
  • timerIcon20 Mins
languageIcon English
Free
Must Attempt

NABARD Development Assistant Mains 2026 Full Mock Test -01

languageIcon English
  • pdpQsnIcon150 Questions
  • pdpsheetsIcon150 Marks
  • timerIcon105 Mins
languageIcon English
test-prime-package

Access ‘SEBI Grade-A Assistant Manager’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
383k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow