Question: Find the total and average amount paid in claim headers.
SQL: SELECT SUM(amount_piad), AVG(amount_piad) FROM claim_headers