What are the total amount and average amount paid in claim headers?
SELECT sum(amount_piad) ,  avg(amount_piad) FROM claim_headers
SELECT sum(amount_piad) ,  avg(amount_piad) FROM claim_headers
[{'sum(amount_piad)': 7314.68, 'avg(amount_piad)': 487.6453333333333}]