Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Use of the OVER construct in SELECT CLAUSE
Hi,
I am working on updating a process someone wrote and I have no idea what the OVER phrase means. Can anyone give me a quick explanation.
TIA,
Scott
Example code:
SELECT /*+ ordered full(jobs) full(h) use_nl(jobs ass)
use_hash(h supass) no_expand
*/
ass.location_id ass_loc,
ass.assignment_id emp_assign, ass.object_version_number, ass.effective_start_date, ass.supervisor_id cur_sup_id,
jobs.employee_job_code, jobs.manager_job_code, jobs.same_cc, jobs.same_location, row_number() over (PARTITION BY ass.location_id, ass.assignment_id, supass.location_id, jobs.employee_job_code, jobs.manager_job_code ORDER BY supass.effective_start_date DESC, supass.assignment_id ) rrReceived on Tue Aug 20 2002 - 09:25:34 CDT