I have two tables; one with post data and in the other each row has a tag and post id (FK).
Is it possible to select a post with all of its tags from these two tables with a single Query? How?
Thanks
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.
I guess you could turn around the query
Though I don’t think that this will be quicker than doing 2 separate queries
EDIT
The comments below think it is quicker to do a join rather than two separate query.