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

Home -> Community -> Usenet -> c.d.o.tools -> To write a query without using a sub query

To write a query without using a sub query

From: Prasad Kulkarni <prasad.kulkarni_at_mailcity.com>
Date: 17 Jul 2001 05:49:51 -0700
Message-ID: <a8274029.0107170449.241355b4@posting.google.com>

Hello all,

I am using a free database called 'MySql'. But unfortunately it does not support sub queries. Can some one help me to write the query without using the sub query.
 For example, my query is something like this:

 SELECT emp_name FROM emp
 WHERE emp_num > 0
   and emp_num NOT IN (SELECT supervisor_emp FROM supervisor). Received on Tue Jul 17 2001 - 07:49:51 CDT

Original text of this message

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