Retrieve all customers who are not from Germany.
select * from customers where country <> 'Germany';
Retrieve all customers with a score not less than 500.
using NOT operator
select * from customers where NOT score < 500;
Retrieve all customers whose score falls in the range between 100 and 500
(inclusive of boundary values)
select * from customers where score between 100 and 500;
Retrieve all customers living in either US, India or England
select * from customers
where country IN ('US', 'India', 'England');Retrieve names of customers starting with ‘M’
select * from customers where name like 'M℅'
Retrieve names of customers whose names end with ‘in’.
select * from customers where name like '℅in'
Find all customers whose name contains ‘r’
select * from customers where name like '℅r℅'
Find all customers whose name has ‘r’ in the 3rd position.
select * from customers where
name like ‘__r%’