I have the following data in my database:
|NO | model | date | +---+-------+----------+ |1 | bee |2011-12-01| |2 | bee |2011-12-05| |3 | bee |2
You can try using max() in subquery, something like this :
SELECT model, date FROM doc WHERE date in (SELECT MAX(date) from doc GROUP BY model);