If the data is like this:
AsOfDate | Animal | Version |
2013/07/01 | Cat | 0.8 |
2013/07/01 | Dog | 0.3 |
2013/04/15 | Cat | 0.6 |
2013/04/15 | Dog | 0.2 |
2012/12/20 | Cat | 0.5 |
2012/12/20 | Dog | 0.1 |
I want to be able to specify some given date parameter, for example, 2013/5/01 and have all the rows selected that have the ONE most recent date (2013/4/15) for a result:
2013/04/15 | Cat | 0.6 |
2013/04/15 | Dog | 0.2 |