jesuscheung <jesusche...@hotmail.com> wrote: > if your table's primary key is auto incremented, try: > > select max(id) from table > > this will be faster than using count()
... but would give incorrect answer if records are ever deleted from the table. Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users