I have a MS Access table where customer keys are matched with some interest rates of several years, one row for each year. Due to user interaction it can be the case that the exact same data of interest rates and years appears twice, but with different keys. I want to filter these in a way that
[KEY] [year] [data1] [data2]
1 2000 0,3 0,2
1 2003 0,7 0,3
1 2007 0,1 0,2
2 2000 0,3 0,2
2 2003 0,7 0,3
2 2007 0,1 0,2
2 2016 0,3 0,1
becomes
[KEY] [year] [data1] [data2]
1 2000 0,3 0,2
1 2003 0,7 0,3
1 2007 0,1 0,2
1 2016 0,3 0,1
so if there exists historical correspondence one of the affected keys should be deleted (and of course this key should be updated in the customer table). Does anyone have an idea how to code this?
[KEY]for 2016 be2?No, I want to delete one of the keys... which one?