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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Query help !!!

Re: Query help !!!

From: Rocky Welch <rockyw_99_at_yahoo.com>
Date: Fri, 22 Jun 2001 10:18:23 -0700
Message-ID: <F001.00333FAF.20010622102607@fatcity.com>

Hi Leslie,
This will be crude but it's a start. Gang, feel free to correct/improve:

select customer_id
from <table_name>
where
customer_id in (select customer_id from <table_name> where status = 'F') and
customer_id in (select customer_id from <table_name> where status = 'A') and
customer_id in (select customer_id from <table_name> where status = 'B');

Pretty messy and resource intensive but it should work.

HTH,
-Rocky


Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rocky Welch
  INET: rockyw_99_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Jun 22 2001 - 12:18:23 CDT

Original text of this message

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