I have got the following sqlite3 table:
Name | LastUpdated | Status
============================
Adam | 2011-05-28 | 1
Bob | 2011-05-05 | 6
Adam | 2011-05-27 | 2
Adam | 2011-05-16 | 1
Adam | 2011-05-26 | 3
Bob | 2011-05-18 | 1
Adam | 2011-05-29 | 6
and I want to select the a row per Name ordered by the LastUpdated column. So I want to get this data:
Adam | 2011-05-29 | 6
Bob | 2011-05-18 | 1
I think I have to do a subquery, but I can't figure out how to go about it.