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.
|