SQL OR Operators
The OR operator displays records if any of the conditions is true.
Understand with Example
The Tutorial illustrate an example from SQL OR Operator .In this we help you to know the use of 'OR' Operator. For this we create a table Stu_Table with the help of create statement.
Create Table Stu_Table
Insert data into Stu_Table
The insert into add the records or rows to the table Stu_Table.
The select statement help you to display the table detail.
SQL OR Operator Syntax
The SQL OR Operator is used to return a record if either the first condition is true or the second condition is true. The Syntax used for SQL OR Operator is given below:
SQL OR Operator Query
In this example, we make use of OR Operator, which return the records from a table on the basis of condition in WHERE Clause. The OR Operator return you a set of records,if either of the condition are true.