Having TSQL Tutorial

Having Example:

CONTRACT_IDCUSTOMER_IDAMOUNT
11400
22500
33700
411000
521200
64900
732000
821500

SELECT c.customer_id, c.amount
   FROM contracts c
  WHERE c.amount < 2500
GROUP BY c.customer_id, c.amount
HAVING MIN(c.amount) > 1000 ;

Customer_IdAmount
21200
32000
21500