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