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

Home -> Community -> Usenet -> c.d.o.misc -> Complex PL-SQL Query ?

Complex PL-SQL Query ?

From: Fred Zimmerman <silversw2000_at_yahoo.com>
Date: 19 Nov 2002 12:25:50 -0800
Message-ID: <a695a242.0211191225.32934315@posting.google.com>


I have a table CIMSHIST that has fields: hullno, hulltype, location, asofdate.

I can have some data like the following

HULLTYPE HULLNO LOCATION ASOFDATE

--------  ------   --------   --------
YOS       33       700012/S   13-APR-95
YOS       33       700012/S   05-MAY-99
YOS       33       700012/S   10-JUL-02


I only want to return the record with
latest ASOFDATE.

Can anyone give me the SQL query to handle this task? Received on Tue Nov 19 2002 - 14:25:50 CST

Original text of this message

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