SQL OR Keyword
OR
The OR
command is used with WHERE to include
rows where either condition is true.
The following SQL statement selects all fields from "Customers" where city is "Berlin" OR city is "München":
ExampleGet your own SQL Server
SELECT * FROM Customers
WHERE City='Berlin' OR City='München';
Try it Yourself »