I have the following table:
content: id, user_id, markdown
How do I select the latest id created by a certain user?
SELECT * FROM content
WHERE user_id = 2
So if rows 12,13 and 14 have user_id as 2, I want to select row 14
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Also, if you have a table of users and you want to get the latest record for each: