how to select with multiple where values sql code example
Example 1: where sql multiple conditions
SELECT *
FROM suppliers
WHERE (state = 'California' AND supplier_id <> 900)
OR (supplier_id = 100);
Example 2: sql where multiple values
SELECT column_name(s)
FROM table_name
WHERE column_name IN (value1, value2, ...);