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]

Re: InstantDB: multiple outer joins in instantdb


Santiago

InstantDB currently only supports multiple inner joins in the where clause.
At the moment you can only join two table in the FROM clause. So if you want
to do more than one outer join then I'm afraid InstantDB won't be able to do
it.

Regards

Peter Hearty
Lutris Technologies UK Ltd.
-----Original Message-----
From: Santiago Arriaga <santiago.arriaga@catnet.com.mx>
To: instantdb@enhydra.org <instantdb@enhydra.org>
Date: 29 May 2000 20:37
Subject: 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.

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