G
Guest
Hello,
I am looking for a way to query the first record of an event change on a
table of history entries.
Here is a sample of the data.
event id status modified date
1234 new 1/2/2007
1234 open 1/3/2007
1234 open 1/4/2007
1234 fixed 1/7/2007
1234 open 1/8/2007
1234 open 1/9/2007
1234 fixed 1/10/2007
1234 closed 1/10/2007
I am looking for a query that would eliminate the subsequent records for
each status (so the 3rd and 6th records would be droped).
Thanks
Mark
I am looking for a way to query the first record of an event change on a
table of history entries.
Here is a sample of the data.
event id status modified date
1234 new 1/2/2007
1234 open 1/3/2007
1234 open 1/4/2007
1234 fixed 1/7/2007
1234 open 1/8/2007
1234 open 1/9/2007
1234 fixed 1/10/2007
1234 closed 1/10/2007
I am looking for a query that would eliminate the subsequent records for
each status (so the 3rd and 6th records would be droped).
Thanks
Mark