mysql multiple OR conditions in where clause code example
Example 1: how to add multiple condition in mysql query
SELECT suppliers.suppler_name, orders.order_id
FROM suppliers, orders
WHERE suppliers.supplier_id = orders.supplier_id
AND suppliers.state = 'California';
Example 2: sql query with multiple where conditions
SQL> SELECT ID, NAME, SALARY
FROM CUSTOMERS
WHERE SALARY > 2000 OR age < 25;