Hi! I got the table with the fields: id, foreign_key, created, modified
It's a table that logs the changes of a part of my program. What I want is to retrieve the latest logs grouped by the foreign key. How do I do this?
EDIT: to summarize, how do I order first before I group?