I want to return date of max value for a particular id. Look at this table.
ID Date Value
___ ____ _____
4545 9/17/12 5
4545 9/16/12 100
4545 9/15/12 20
2121 9/16/12 12
2121 9/15/12 132
2121 9/14/12 4
9999 9/16/12 45
9512 9/15/12 128
9512 9/14/12 323
2002 9/17/12 45
The results should be:
ID Date Value
___ ____ _____
4545 9/16/12 100 date for ID(4545) for max value(100) is "9/16/12"
2121 9/15/12 132 date for ID(2121) for max value1(32) is "9/15/12"
9999 9/16/12 45 date for ID(9999) for max value(45) is "9/16/12"
9512 9/14/12 323 -||-
2002 9/17/12 45 -||-
How i get this date?