MySQL Forums
Forum List  »  Oracle

division operator
Posted by: monika zutshi
Date: October 07, 2004 10:30PM

I am trying to write a query
List all the courses offered by MGT department and that have been taken by all students.

I am selecting courses from MGT as
b) select c.crscode from course c where deptid = 'MGT';

Then I am selecting
a) select crscode from transcript t

query = a/b

bUt I am not getting the correct results.

Can somebody tell me how do I know what condition is to be assigned in the denominator.

Options: ReplyQuote

Written By
division operator
October 07, 2004 10:30PM
October 08, 2004 09:04AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.