SQL Keyword AND

The ALTER keyword can be used to combine two conditions, which returns TRUE only if both the conditions are TRUE.

The below SQL fetches customers, having country as 'Germany' and city as 'Berlin'.

SELECT * FROM customers
WHERE country='Germany' AND city='Berlin';

Related Links