Equivalent expressions
am 22.08.2006 20:29:00 von Thomas BartkusGiven a primary key field `RecNo` -
Are there any performance reasons to favor one of these two otherwise
equivalant expressions?
SELECT MAX(RecNo)
FROM SomeTable;
SELECT RecNo
FROM SomeTable
ORDER BY RecNo DESC
LIMIT 1;
Just curious.
Thomas Bartkus