Hello,
You need a join for this but getting all of the tags on the same line could be tricky. Start with something like this:
select articles.title,
articles.descripton,
tags.tag
from articles
left join tags on articles.id = tages.articleID
This will give you every record from articles (even those without an entry in the tags table) and all matching records from the tags table.
rch1231
Veteran Poster
1,045 posts since Sep 2009
Reputation Points: 142
Solved Threads: 154
Skill Endorsements: 12
adam_k
Veteran Poster
1,057 posts since Jun 2011
Reputation Points: 274
Solved Threads: 205
Skill Endorsements: 11
Question Answered as of 5 Months Ago by
rch1231
and
adam_k