Can not understand how to make an select:
table structure:
id name value date
1 ivan 2 2010-01-01
2 ivan 3 2010-05-08
3 ivan 1 2009-04-14
4 sasha 2 2011-11-11
5 sasha 9 2012-04-04
How to get?:
name value(in last time)
ivan 3
sasha 9
This query should work