Hello friends,
Hope so you can help me as soon as possible. Please Check my picture :
You can see there same ID number they all same. Those ID's have Groups (A) at this picture only 3 different groups 20 30 40. Actual Date and Appointed Date. (Others not important now.)
I need to compare Actual Date and Appointed Date and to see there nearest (closest) Appointed Date.
For example for Group 20 > Appointed Date 26.01 same as 30 and 40 too...
what shall i write to my query for to find this.
Thank you for your help.
Hope so you can help me as soon as possible. Please Check my picture :
You can see there same ID number they all same. Those ID's have Groups (A) at this picture only 3 different groups 20 30 40. Actual Date and Appointed Date. (Others not important now.)
I need to compare Actual Date and Appointed Date and to see there nearest (closest) Appointed Date.
For example for Group 20 > Appointed Date 26.01 same as 30 and 40 too...
what shall i write to my query for to find this.
Thank you for your help.