multiple or clause sql code example
Example 1: sql several or
WHERE id IN (3, 9, 100, ...)
Example 2: where sql multiple conditions
SELECT *
FROM suppliers
WHERE (state = 'California' AND supplier_id <> 900)
OR (supplier_id = 100);
WHERE id IN (3, 9, 100, ...)
SELECT *
FROM suppliers
WHERE (state = 'California' AND supplier_id <> 900)
OR (supplier_id = 100);