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 -> Re: select statment with between date parameters

Re: select statment with between date parameters

From: Mike Morgan <mmorgan1_at_mail.tds.net>
Date: Sat, 22 May 1999 03:41:31 GMT
Message-ID: <LHp13.124$eZ2.53918@ratbert.tds.net>


select MAX(datefield) from tablename;
select MIN(datefield) from tablename;

(why can't you use a WHERE clause?)

Chistine Do wrote in message ...
>Hello All,
>I would like to know how to create a select statement using the greatest
and
>least to select the date parameters (ex. 05-aug-98 to 05-apr-99) without
>using the where clause.
>
>Please advice!
>
>Thanks
>Christine
>email: christine_at_idec.com
>
>
Received on Fri May 21 1999 - 22:41:31 CDT

Original text of this message

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