InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InstantDB: How to join three or more tables?


Hello,

InstantDBs SQL-Syntax allows joins with more than two tables, but
executing a Query like:

SELECT * FROM (t1 inner join t2 on t1.id=t2.t1id) inner join t3 on
t2.id=t3.t2id

results in the following SQL-Exception:

java.sql.SQLException: Table not found: null

I tried some other versions, e.g. with alias names for the tables,
setting the  parenthesis differently, but it does not help.
Querying the tables without using JOIN, like in: 

SELECT * FROM t1, t2, t3 WHERE t1.id=t2.t1id AND t2.id=t3.t2.id

works fine.

What is wrong with the query using the JOIN-Statement?

Thanks,
Dirk
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.