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 -> simple sql question

simple sql question

From: Tony Kim <tonyikim_at_gmail.com>
Date: Tue, 07 Aug 2007 11:19:25 -0700
Message-ID: <1186510765.282261.60920@d30g2000prg.googlegroups.com>


hi, i'm a newbie and can't figure something as simple as this. I have 3 tables and i was wondering if there was a "cleaner" way of doing this..

select a.REQUEST_ID, b.PURCHASE_ORD_NUM, c.SON, b.REQUEST_STATUS, b.COMPANY_CODE, a.log

from LAS.LRT107_MOG_LOG a, LAS.LRT002_REQUEST b,
LAS.LRT250_PEND_ORD c
where a.REQUEST_ID > '200703'

and a.REQUEST_ID=b.REQUEST_ID
AND b.REQUEST_ID = C.REQUEST_ID

and b.BUSINESS_UNIT = 'P'
and a.LOG NOT LIKE '%MIGR=P%'
and a.LOG LIKE '%SOS%'
and b.RECEIPT_MODE = 'LEX'
AND b.REQUEST_STATUS LIKE '%F%'
and b.REQ_TYPE = 'CB'
and b.ACTIVITY = 'V'
and B.RECEIPT_MODE = 'LEX'

thanks! Received on Tue Aug 07 2007 - 13:19:25 CDT

Original text of this message

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