operator

IN

Tests membership; a null in the list can make a nonmatching result unknown. See the SQLite expression documentation for the locally tested form. Example target: PostgreSQL 17 and SQLite (local fixture tested).

Formal Syntax & Structure

sql syntaxsql
a IN (value [, ...])

Working Example

Example Snippetsql
SELECT 3 IN (1, NULL);
SQL Reference