Introduction
These accumulators help you pick the first or last value from a group of data. They are useful when you want to find the earliest or latest item in a list.
When you want to find the first sale date for each product.
When you want to get the last comment made on a post.
When you want to find the first or last entry in a sorted list of records.
When you want to summarize data by picking the earliest or latest value in each group.