Re: Informal Survey #1 -- joins on foreign keys

From: Bob Badour <bob_at_badour.net>
Date: Sat, 01 Oct 2011 12:17:18 -0700
Message-ID: <AoWdnRrIp6bd-hrTnZ2dnUVZ5qudnZ2d_at_giganews.com>


Rob wrote:

> First, let me qualify my interests. I am primarily interesested in the
> mechanics of
> relational database management, not the semantics. I am interested in
> the evaluation
> of sql queries without regard to their meaning.
>
> 1. without racking your brain or searching the archives of your
> previous work, does
> your gut feeling tell you have ever authored or seen an sql query in
> which two relations
> were joined on a foreign key in each?

Obviously, I have.

> 2. using your knowledge and understanding of (any) relational algebra,
> is a join
> between two relations on a foreign key in each ever meaningful? (Keep
> in mind
> the definition of the domain of a foreign key.)

Yes, of course, it is.

> 3. in the semantic realm you use to "think about" relational databases
> (i.e., E-R,
> facts, etc.), does a join between two relations on a foreign key in
> each make sense?

Yes, it does.

> I request that you spend at least 10 minutes thinking about this
> before you flame
> me.

I don't know why you think it would take 10 minutes to answer such basic questions. Received on Sat Oct 01 2011 - 21:17:18 CEST

Original text of this message