OR clause used to check multiple condtion with a WHERE clause from a table in database.
It is used on SELECT,UPDATE and DELETE query.
Syntax
SELECT * FROM tablename WHERE condition1 OR condition2 OR condition3;
Example
SELECT * FROM students WHERE student_id=1 OR city='Delhi'
Copyright ©2022 coderraj.com. All Rights Reserved.