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 -> Re: SQL query

Re: SQL query

From: DA Morgan <damorgan_at_x.washington.edu>
Date: Mon, 11 Apr 2005 17:05:43 -0700
Message-ID: <1113264122.185256@yasure>


vani wrote:

> Hi Guys,
> I want to do a SQL query instead of PL/SQL ,can anyone help me in doing
> this.
> Here is the problem.
>
> To get items that match the following conditions
>
> 1. Select items that have a history of receipts for the past 6 months
>
> 2. Select the recent 10 receipts for those items
>
> 3. Do not select those items that have a reject status even in one of
> the selected 10 receipts
>
> Thanks.

Oacle version?
DDL for tables and primary keys?
Some effort demonstrating you tried to do this yourself first?

I suspect this isn't homework but the odor is definitely there.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Mon Apr 11 2005 - 19:05:43 CDT

Original text of this message

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