Hi there I have this in mysql.
record rate update
   1      1      1
   2      1      2
   3      1      3
   4      1      4
   5      2      1
   6      2      2
   7      3      1
   8      3      2
   9      3      3
I want to select the rows with the last update of each rate.
For example:
the last row of rate 1 is (4 1 4),     
the last row of rate 2 is (6 2 2)     
and the last row of rate 3 is (9 3 3). 
 
     
    