Javatpoint Logo
Javatpoint Logo

SQLite OR Operator

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.

Syntax:

You can combine multiple number of conditions using OR operator.

Example:

We have a table named 'STUDENT' having following data:

Sqlite Or clause 1

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

Output:

Sqlite Or clause 2
Next TopicSQLite Like Clause




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA