Question: Calculate customers' total payment amount in August, 2005.
SQL: SELECT SUM(amount) FROM payment WHERE SUBSTR(payment_date, 1, 7) = '2005-08'