Calculate customers' total payment amount in August, 2005.
in August 2005 refers to payment_date like '2005-08%'; total payment amount refers to Sum(amount)
SELECT SUM(amount) FROM payment WHERE SUBSTR(payment_date, 1, 7) = '2005-08'