Comparing Across Records
911624Jan 17 2012 — edited Jan 18 2012I need to develop a query in PL/SQL where I compare records in a table
The current fields are:
EmplID Effective_Date Department
1 1/1/2011 SALES
1 3/1/2011 SERVICE
1 4/1/2011 SERVICE
...
I need to find out when a particular ID, EmplID has a change in Department, and store that as a field.
Is there an efficient way to do this?
Thanks
Ross