The Oracle allows you to use AND & OR operator combined to display the records from the table. While combine these operator, you must be aware how to use round brackets precision to evaluate each condition.
To combined a records if any of the conditions separated by
OR is TRUE, use the following syntax:
tablename: The table name from which you want to fetch the records.
condition: To specifies multiple conditions, either of the condition must be true to select records with OR or both condition must be true with AND.
ORis TRUE or both of the conditions separated by
In the above example, we are showing how to use the
OR operator to combined records based on any of the conditions separated by
OR is TRUE or both of the condition separated by
AND is TRUE in