sreekumar...@gmail.com wrote: > Is 'last' valid only for 'ordered' set of records?
It would be more precise to say that an ordering induces GetLastRecord function, and vice versa. If you have a total ordering, then the "last" record is the one that compares greater than all others in this ordering. In the other direction, if you have GetLastRecord(set_of_records) function defined somehow, then you can pick the last record, remove it from the set, pick the last of the remaining, remove that one from the set, and so on. This process generates a total ordering of the set. -- Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users