Should this be happening? Using Acc XP; here's the scene:
-simple date field DateID, format Short Date, no nulls
-lowest date is 08/06/2004, next row 08/06/2004, then 08/09/2004, 08/12/2004
-highest date is 10/19/2004; about 200 rows of other October values separate it from 09/30/2004
-"select first(dateid) from Table order by dateid" should yield 08/06/2004, the same as "select min(dateid) from Table order by dateid" or just "select min(dateid) from Table"; instead, the first function with and also without the Order By gives 08/12/2004; the same thing in reverse is happening for Last vs. Max. Last both with and without Order By gives 09/30/2004.
Shouldn't first(column) with Order By and last(column) with Order by yield the same result as Min and Max in such a case?
-simple date field DateID, format Short Date, no nulls
-lowest date is 08/06/2004, next row 08/06/2004, then 08/09/2004, 08/12/2004
-highest date is 10/19/2004; about 200 rows of other October values separate it from 09/30/2004
-"select first(dateid) from Table order by dateid" should yield 08/06/2004, the same as "select min(dateid) from Table order by dateid" or just "select min(dateid) from Table"; instead, the first function with and also without the Order By gives 08/12/2004; the same thing in reverse is happening for Last vs. Max. Last both with and without Order By gives 09/30/2004.
Shouldn't first(column) with Order By and last(column) with Order by yield the same result as Min and Max in such a case?