Say i have the following table:
id Name Status Date
1 John Working 11/11/2003
2 John Working 03/03/2004
3 John Quit 04/04/2004
4 John Quit 04/05/2004
5 John Quit 04/06/2004
6 Joey Working 03/05/2009
7 Joey Working 02/06/2009
8 Joey Quit 02/07/2009
9 Joey Quit 02/08/2009
10 Joey Quit 02/09/2009
I want to get the date when the change between working and quit occured, so that i get:
3 John Quit 04/04/2004
8 Joey Quit 02/07/2009
How would i do that?