bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

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":

Example

SELECT * FROM Customers

WHERE City='Berlin' OR City='München';

Previous

SQL NOT NULL Keyword

Next

SQL ORDER BY Keyword