Task: Text to Code
Input (English): Which customer, who has made at least one payment, has spent the least money? List his or her first name, last name, and the id.
Output (English): SELECT T1.first_name ,  T1.last_name ,  T1.customer_id FROM customer AS T1 JOIN payment AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id ORDER BY sum(amount) ASC LIMIT 1