bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL AND Keyword

Concept visual

SQL AND Keyword

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

AND Keyword

Previous

❮ SQL Keywords

Next

And

The AND

command is used with WHERE to only include rows where both conditions is true. The following SQL statement selects all fields from "Customers" where country is "Germany" AND city is "Berlin":

Example

SELECT * FROM Customers
WHERE Country='Germany'
AND City='Berlin';

Previous

❮ SQL Keywords

Next

Previous

SQL ALTER VIEW Keyword

Next

SQL ANY Keyword