On 3/21/08, Derek Developer <[EMAIL PROTECTED]> wrote:
> In trying to break my code with the seinfeld database examples, I found this.

Derek,

You are going to get much better help from the list, not to mention
that you will probably get further with your "code breaking," if you
provide some more background to your question. For example, what on
earth is this "seinfeld database example" that you are talking about?

>  SELECT f.name as food, e1.name, e1.season, e2.name, e2.season FROM episodes 
> e1, foods_episodes fe1, foods f, episodes e2, foods_episodes fe2
>  Why does this put SQLite into an endless loop?

Probably because there is no JOIN clause causing a cartesian join
across 5 tables.



>  (I am not using the shell tool, just preparing the statement as is and 
> stepping throug the rows)
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to