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: Need urgent help with sub-query

Re: Need urgent help with sub-query

From: Martin Doherty <martin.doherty_at_oracle.com>
Date: Tue, 17 Sep 2002 16:52:10 -0700
Message-ID: <3D87C02A.B3F5B240@oracle.com>


Gamaz,

Is this an assignment for school? Is your request urgent because the deadline for completing the assignment is looming closer?

gamaz wrote:

> Hi,
> I have a worker table from which a correlated subquery needs to be used to
> get the youngest worker and the corresponding lodge he/she resides. I know
> how to do without using sub-query. However, I could not think as how to
> resolve it by sub-query. Any help is highly appreciated. Thanks in advance.
>
> Worker table is attached.
>
> NAME AGE LODGING
> ------------------------- ---------- ------------
> BART SARJEANT 22 CRANMER
> ELBERT TALBOT 43 WEITBROCHT
> DONALD ROLLO 16 MATTS
> JED HOPKINS 33 MATTS
> WILLIAM SWING 15 CRANMER
> JOHN PEARSON 27 ROSE HILL
> GEORGE OSCAR 41 ROSE HILL
> KAY AND PALMER WALLBOM ROSE HILL
> PAT LAVAY 21 ROSE HILL
> RICHARD KOCH AND BROTHERS WEITBROCHT
> DICK JONES 18 ROSE HILL
>
> NAME AGE LODGING
> ------------------------- ---------- ------------
> ADAH TALBOT 23 PAPA KING
> ROLAND BRANDT 35 MATTS
> PETER LAWSON 25 CRANMER
> VICTORIA LYNN 32 MULLERS
> WILFRED LOWELL 67
> HELEN BRANDT 15
> GERHARDT KENTGEN 55 PAPA KING
> ANDREW DYE 29 ROSE HILL


Received on Tue Sep 17 2002 - 18:52:10 CDT

Original text of this message

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