Hi,
LAST, and FIRST, do not imply the idea of ordering, neither the idea of
time.
The practical cases are around getting a "typical" record, a "sample"
from the group. As example:
ID tel office
AllenBrowne 122-2312-3345 work
AllenBrowne 122-1991-5665 home
then,
SELECT ID, LAST(tel), LAST(office)
FROM thatTable
GROUP BY ID
can be seen as "picking one" from each GROUP. Sure, in this case, you can
probably say it does not matter if I phone you on what I think is your home
tel number, but is in reality your work tel number, but there are cases
where mixing the info, could generate a problem, and:
SELECT ID, MIN(tel), MIN(office)
FROM thatTable
GROUP BY ID
would probably mix the records (in general).
So, basically, they are useful when you want a "sample" from the group, and
when I say "a" sample I say "one" sample, so, also useful to remove
duplicate (in the sense of keeping one record per group, rather than
getting one record made of a mix of all records, per group). It also insure
you that you get a record, so that you get something valid since in:
SELECT id, LAST(f1), LAST(f2)
FROM ...
it may be from a table with a data validation about f1+f2 BETWEEN 90 and
110
So, using LAST, you still get "something" valid, since, to the contrary of
MIN, you don't "compose" something new, something "out" of record space.
Yep, you are right, they are useful if you use more than ONE of them (if
you look at my examples, they always imply two LAST( ) ). But by extension,
since LAST mean "take a sample", I found myself using it because it is just
more "descriptive" that MIN in some expression where MIN is classically used
to play that same role, ... when there is just ONE field implied. It just
happen that it is MIN that has far less use than LAST, in the end, so, would
be remove MIN ? ...

well, I exaggerate a little bit, but not by much.
About my first sentence, their name, FIRST and LAST, derives from the
way these aggregate are working: the first, or last, record SEEN by then
engine, accordingly to the query plan generated at the moment, will be the
record supplying the sample values. So, if the query plan does not use an
index, it may not be linked to an ordering notion, and if the query plan
does not use a table scan, it may not be linked to the notion of "position"
in the table either... but it may... does not matter... all we want is "a"
sample.
Vanderghast, Access MVP