Find the total and average amount paid in claim headers.
SELECT sum(amount_piad) ,  avg(amount_piad) FROM claim_headers
total amount paid refers to SUM(amount_paid); average amount paid refers to AVG(amount_paid);