The SQLite OR Operator is generally used with SELECT, UPDATE and DELETE statement to combine multiple conditions. OR operator is always used with WHERE clause and the complete condition is assumed true if anyone of the both condition is true.
SELECT column1, column2, columnN FROM table_name WHERE [condition1] OR [condition2]...OR [conditionN]
You can combine multiple number of conditions using OR operator.
We have a table named 'STUDENT' having following data:
Select all students from the table 'STUDENT' WHERE age is greater than or equal to 25 OR fees is greater than or equal to 15000.00
SELECT * FROM STUDENT WHERE AGE >= 25 OR FEES >= 15000;