Database: products_for_hire
Question: What is the maximum total amount paid by a customer? List the customer id and amount.
SQL:
SELECT customer_id ,  sum(amount_paid) FROM Payments GROUP BY customer_id ORDER BY sum(amount_paid) DESC LIMIT 1