select
cust.customerid,
cust.customername,
amt.AccountID,
amt.[Total amount],
amt.[Daily Amount],
t.amountgiven
from cutomertable cust
inner join Amountdetailtable amt on cust.customerid=amt.customerid
inner join (select SUM(amount) amountgiven,customerid from cashtable group by customerid)t
on t.customerid=cust.customerid
Since i am not able to give link directly as i am verified user. I will give you indirectly as i think that would be help-full.
sql fiddle .com /#!3/8b9b1/1 (Just remove the spaces)