Make your own free website on Tripod.com

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: multiple outer joins in instantdb


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.