I have a table of payments and what I\'m looking to do is get all payments that were, at the time of the payment, the largest payment to date.
I have the following query: