Thanks Much for the Reply,
Let me clear you with my question
I want to show the result column “Tot State” based on the condition if GROSS AMT>600 to GROSS AMT<10000 only. For eg, Please find the column “Tot State”
I don’t want to show any values less than 600 and greater than 10000
ID Gross Amt Tot Fed Tot State
------ -------------- ---------- ------------
1 5000 0 5000
2 20000 10000 0
3 15000 5000 0
4 3000 0 3000
5 700 0 700