expr IN (value,...) --> Returns 1 if expr is equal to any of the values in the IN list, else returns 0.
expr IN (value,...)
Returns 1 if expr is equal to any of the values in the IN list, else returns 0. If all values are constants, they are evaluated according to the type of expr and sorted.
For Example:
SELECT 2 IN (0,3,5,7);
-> 0
SELECT 'wefwf' IN ('wee','wefwf','weg');
-> 1