I have a table in mysql which is not normalized and I need to query so that it groups by a certain field and gives the most recent row.
For example the table looks like
callername | callerdate | incoming | status
And I am trying to get all of the records which have their most recent status as NotAnswered and I can’t figure out how you would do this, I can GROUP BY callername however I can’t figure out how to get the most recent values.
Thanks.
1 Answer