@ebs17
If you get a few spare moments, would you be so kind as to try and explain for me what is going on in the second SQL statement, I don't understand why we look at the index for the top values and not the dates themselves and also what is the purpose of the comparison between the two alias's?