I have three tables:
articles
articleTags
article_articleTags_Rel
articleTags_Rel table has 2 columns
ArticleID_FK
TagID_FK
As you can see the article_articleTags_Rel is to make relation between the articles and articleTags
All I want is to select one row from the articles table and and all related tags (multiple values) using sub-query.
How can I achieve this?
You can try something like this:
Result:
sql fiddle: http://sqlfiddle.com/#!6/8d30f/2