Explained a complex logic in a simple and clear example. This concept will improve a lot in our existing SQL production, moving from front-end calculation to back-end calculation where possible.
Excellent.
Ashok