Re: Recursive Query

From: Alan <alan_at_erols.com>
Date: Tue, 18 Mar 2003 15:26:39 -0500
Message-ID: <b57vdv$25sh1b$1_at_ID-114862.news.dfncis.de>


Why would we do your homework for you? Just send the professor's email address, and we'll submit the answer directly.

"Ray" <rfelipe_at_earthlink.net> wrote in message news:2ee70ad6.0303181216.3ad7573b_at_posting.google.com...
> Hi,
>
> I have a table with an Id that references itself recursively and need
> help building the query.
>
> Here's the table structure:
> employee_id PRIMARY_KEY
> employee_name
> supervisor_id
>
> The supervisor_id refers to the employee_id depending on who is the
> employee
> supervisor.
>
> My resultset should look like:
> employee_id - employee_name - SUPERVISOR_NAME (instead of Id)
>
> Thanks,
>
> -Ray
Received on Tue Mar 18 2003 - 21:26:39 CET

Original text of this message