I am having a table in an mysql database like this:
Postings (id, content, user_id, create_date)
Now, for ten user (user_id) i want to retrieve his five latest postings (id). A simple approach would be to figure the 10 users with the latest posts in one query, and then fire 10 separat queries for getting the latest 5 posts for each user. Is there a more simple way by putting it in one or two queries?