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: SQL help needed

Re: SQL help needed

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Wed, 03 Mar 2004 08:43:24 -0800
Message-ID: <1078332170.342923@yasure>


j reed wrote:

> demo: show the name of the employee, together with the department and
> number of vacations (er, i mean business trips) of the person who has
> taken the largest number of business trips within each department

Looks a lot simpler using RANK.

http://www.psoug.org/reference/rank.html

-- 
Daniel Morgan
http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp
http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Wed Mar 03 2004 - 10:43:24 CST

Original text of this message

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