Last |
SELECT Comment.[ ], Comment.com, Comment.date_com FROM (SELECT [ ], Max(date_com) AS lastdate FROM Comment GROUP BY [ ]) AS lastc INNER JOIN Comment ON (lastc.[ ] = Comment.[ ]) AND (lastc.lastdate = Comment.date_com);
SELECT Comment.[ ], Comment.com, Last(Comment.date_com) AS [Last-date_com] FROM (SELECT [ ], Max(date_com) AS lastdate FROM Comment GROUP BY [ ]) AS lastc INNER JOIN Comment ON (lastc.[ ] = Comment.[ ]) AND (lastc.lastdate = Comment.date_com);