SQL IN Clause Generator

Paste values below to generate a SQL IN list or a WHERE clause with multiple conditions joined by AND or OR.




Example

apple
banana
cherry

Example output:

WHERE fruit = 'apple'
OR fruit = 'banana'
OR fruit = 'cherry'