Curriculum
Course: SQL
Login

Curriculum

SQL

SQL References

0/80

MySQL Functions

0/139

SQL Server Functions

0/84

SQL Quick Ref

0/1
Text lesson

AND

AND

The AND operator is employed with the WHERE clause to retrieve rows where both conditions are true. The provided SQL statement selects all fields from the “Customers” table where the country is “Germany” and the city is “Berlin”.

Example

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