Posts by Edu • 26 points
1 post
-
1
votes1
answer390
viewsA: How to place ORDER BY in INNER JOIN/GROUP BY
From what I understand, you want to list users based on the date of the last message, try using with a sub-query, follow example: SELECT contatos.*, contas.Key_User, contas.Login_User, ( SELECT…