I have got two tables - Conversations and Messages, each conversation has many messages. We have to find the latest message for each Conversation.
I have tried join and "group by converstion_id" but it provides me the oldest messages.
Help me out with SQL query with respect to the MySQL.