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

Home -> Community -> Usenet -> c.d.o.server -> Re: I'm Confused

Re: I'm Confused

From: Barry Warner <bwarner_at_blueyonder.co.uk>
Date: Wed, 16 Oct 2002 12:42:01 +0100
Message-ID: <_fcr9.23922$jR.9553@news-binary.blueyonder.co.uk>


ok

So if it's

select workshop_num

    from workshop join module
    on workshop.module_num = module.module_num

        where module.module_num = workshop.module_num

Is that right?

Is the join needed or is it only used if there are 2 columns from 2 tables in the SELECT?

Thanks

Stephan Bressler <stephan.bressler_at_siemens.com> wrote in message news:aojhgq$n0q$1_at_news.mch.sbs.de...
>
>
> >
> > Module
> > Module_num(PK)
> > Module_name
> > Module_description
> > Module_length
> >
> >
> > Workshop
> > Workshop_num(PK)
> > Workshop_room
> > Workshop_start_date
> > Workshop_finish_date
> > Tutor_id(FK)
> > Module_num(FK)
> >
> > I'm thinking if it's Workshop_num = Module_num then the numbers would
have
> > to be identical.
>
> ... where module.module_num = workshop.module_num
>
>
Received on Wed Oct 16 2002 - 06:42:01 CDT

Original text of this message

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