What are the total amount and average amount paid in claim headers?
select sum(amount_piad), avg(amount_piad) from claim_headers