Use of the IN vs. = Clause for a Single Value
Both the "IN" and "=" clauses, when comparing a single value, perform identically in SQL, resulting in the same execution plan.
explain select * from items t where t.category = 'ARMOR';
-- or
explain select * from items i where i.category in ('ARMOR');Last updated