Subject | Re: [firebird-support] SQL question - getting "last" record |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2009-09-04T15:27:20Z |
> As you see, i load all records, sort it by date and fetch only the first one, which seems very unfriendly for the server.Not at all. You load only records which have ArticleId = 31. Look at
PLAN.
SY, SD.