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

Home -> Community -> Usenet -> c.d.o.misc -> Sql Query Help please

Sql Query Help please

From: TurkBear <jvgreco_at_pop.primenet.com>
Date: 1997/10/30
Message-ID: <3459d9cf.274269899@news.primenet.com>#1/1

I have 2 tables, students and classes_attended in a 1 to many relationship.

I need a query that will select students that have attended a specific set of classes and only if they have attended ALL the classes specified ( that's why a OR where clause dosen't work) - any ideas?

stud_nbr is the key field in both tables.

Thanks,
John Greco
Oracle DBA suffering from 'out-of-memory' error in brain. Received on Thu Oct 30 1997 - 00:00:00 CST

Original text of this message

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