Difference between IN and ANY operators in SQL

后端 未结 10 1832
無奈伤痛
無奈伤痛 2020-12-23 11:14

What is the difference between IN and ANY operators in SQL?

10条回答
  •  误落风尘
    2020-12-23 12:04

    The ANY and ALL operators are used with a WHERE or HAVING clause.

    The ANY operator returns true if any of the subquery values meet the condition.

    The ALL operator returns true if all of the subquery values meet the condition.

提交回复
热议问题