Hi Friends,
I have a table Customer as shown in the following way:
CustName Stages DOE
A 1 06/12/2015
B 1 06/12/2015
A 2 06/12/2015
A 3 06/13/2015
A 1 07/12/2015
C 1 07/12/2015
C 2 08/12/2015
Now i need to know customer who have passed stage 1 but have not reached the stage 3.
Though the A has reached stage 3, it gets started again and so is considered still at 1.
Similarly with C , its at stage 2 and not yet reached 3 so it should show up in the result
So my result should be A, B,C as all have stage 1 but not stage 3 ...how can i get it done now..
Thank You