Does instantdb support doing between more than two tables, or more
specifically from two tables to a third table?
I've successfully run outer joins between two tables using the following
syntax:
SELECT areas.ar_num, uperm.up_num
FROM areas NATURAL LEFT OUTER JOIN uperm
(no where clause, both tables have an ar_num column which holds the keys
to join both tables).
but when I try to involve a third table with an outer join to the areas
table, it just doesn't return the results I expect. I've tried
unsuccessfully syntax like:
SELECT areas.ar_num, uperm.up_num, gperm.gp_num
FROM areas NATURAL LEFT OUTER JOIN uperm,
areas NATURAL LEFT OUTER JOIN gperm
or even things like:
SELECT a.ar_num, uperm.up_num, gperm.gp_num
FROM areas a NATURAL LEFT OUTER JOIN uperm,
areas b NATURAL LEFT OUTER JOIN gperm
WHERE a.ar_num = b.ar_num
Is what I'm trying to do supported? If so, which is the correct syntax?
thanks in advance
Santiago
-----------------------------------------------------------------------------
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.
|