Probably the simplest query, you need to select data from the table, only by the latest date for [Application code].
SELECT Comment. [Application code], Comment.com, Max (Comment.date_com) AS [Max-date_com] FROM Comment GROUP BY Comment. [Application code], Comment.com;
What am I doing wrong? Displays exactly the latest date. And yet, in one day there can be several records, how to display only one, the last one?