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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: query problem

Re: query problem

From: Prem Khanna J <premj_at_rediffmail.com>
Date: Tue, 28 Sep 2004 09:04:07 -0500 (EST)
Message-ID: <20040826071039.25788.qmail@webmail7.rediffmail.com>


Hi Srinivas,
SELECT DEPTNO ,
   MIN(SAL) OVER (PARTITION BY DEPTNO) MINSAL,    MAX(SAL) OVER (PARTITION BY DEPTNO) MAXSAL FROM EMP ; I have not included ENAME , but hope this this is the way to go for ur query.

Regards,
Prem.

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Sep 28 2004 - 08:58:05 CDT

Original text of this message

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