60. Payment Patterns Revealed
Track each customer's past and present payments using lag().
Xorthax is curious about payment patterns among his customers. For each payment made, show the current amount and the amount of the previous payment by the same customer.
Explanation: