Having is basically used for the any condition in Group by Clause
like if you are finding sum,max,min etc of any field you are using group by clause and sum is required with some condition then you use having clause for that condition
like select sum(Amount) as Amount from AD_tblAmount having (Sum(Amount)>0)