Yes, ID is autoincrement and hence sequential.
The problem with using it is, I have to know the ID of the beginning (for eg
Book 1 Chapter 1 Verse 2) and the Id of the end (eg Book 4 Chapter 10 Verse
3). Then Simple BETWEEN will resolve it.

Thanks for replying!

On Mon, Dec 13, 2010 at 5:46 PM, Gerry Snyder <mesmerizer...@gmail.com>wrote:

> On 12/13/2010 6:54 AM, steve mtangoo wrote:
> >   I have a  script that is supposed to query the Bible scriptures between
> two
> > intervals. My table is named Bible and have columns: ID (int), Book
> (int),
> > Chapter(int), Verse (int) and Scripture(text).
>
> Is your ID column a sequential numbering of the verses? If so, using it
> could simplify the query.
>
>
> Gerry
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to