0 votes
in Sql by
Which operator is used to compare a value to a specified list of values?

Select the correct answer from below options:

a) ANY

b) BETWEEN

c) ALL

d) IN

1 Answer

0 votes
by

d) IN

The IN operator easily tests the expression if it matches any value in a specified list of values. It reduces the use of multiple OR conditions.

The WHERE or HAVING clause uses the ANY and ALL operators. ANY gives the result when any subquery value matches the specified condition. The ALL give the result when all subquery values match the specified condition.

The BETWEEN operator selects values only in the given range.

Related questions

0 votes
asked Dec 1, 2022 in JavaScript by john ganales
0 votes
asked Dec 24, 2023 in Sql by john ganales
...