Group by user and show latest in MYSQL not working
问题 I have a social network I am coding but it's a bit different than others, in this case there is only ever one status show per user on a feed section. So I need to sort the status by date with the latest ones on top but also group by the userID unfortunately I can't seem to get this working.... This is my current query: SELECT * FROM status WHERE userID != "83" #This is just so my statuses don't show GROUP BY userID ORDER BY addedDate DESC LIMIT 10 I expect to see the latest status results and