For that Customer with ID 12, what was the amount they spend?
SELECT sum ( amount_paid )  FROM Payments WHERE customer_id  =  12
amount they spend refers to SUM(amount_paid); for Customer with ID 12 refers to WHERE customer_id = 12;