Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: abstraction of table relationships

Re: abstraction of table relationships

From: JOG <jog_at_cs.nott.ac.uk>
Date: 7 Sep 2006 10:25:48 -0700
Message-ID: <1157649948.316339.279830@i3g2000cwc.googlegroups.com>


Cimode wrote:
> [snip]
> Select * from Books --> Authorship --> Persons where PersonId = 'Steven King';
> Select * from Books --> Editorship --> Persons where PersonId = 'John Doe';
> [snip]

I like this syntax. Might it follow that I could ask:

select * from books --> authorship, editorship --> person_id = "jog"

...to determine books either edited or authored by me. Or even:

select * from books --> ALL --> person_id = "jog"

...to determine books with which I have any role of involvement with at all, as specified by foreign key reference clauses? Received on Thu Sep 07 2006 - 12:25:48 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US