+4  A: 
select Account, 
    sum(case when Type='D' then Amount * -1 else Amount end) as AmountSum
from Payment
group by Account
RedFilter
Works perfectly. Thanks
James Ramos
@James - In that case you should select the tick mark to the left of this answer to mark it as the accepted answer.
Martin Smith