IN

Checks if a value exists within a specified set of values

Updated over a week ago

Description

The IN() function evaluates whether a given value exists within a predefined set of values. It's commonly used in conditional statements or queries to determine if a value matches any value in a specified list or set.

Syntax

IN (, )

Output

boolean

Variables

  1. , : The set of values to compare against.

Example

`Employee ID` IN (101, 203, 204)

Employee ID

IN

101

TRUE

203

TRUE

305

Did this answer your question?