The SQL OR condition is used in a SQL query to create a SQL statement where records are returned when any one of the condition met. It can be used in a SELECT statement, INSERT statement, UPDATE statement or DELETE statement.
Let's see the syntax for OR condition:
SQL "OR" example with SQL SELECT
SQL "OR" example with SQL INSERT
You can see in below example that how an SQL "OR" condition is used with SQL insert statement.
SQL "OR" example with SQL UPDATE
SQL "OR" example with SQL DELETE