I have a question about the MySQL select statement. Suppose you have 5 tables: Authors (id, name, email), Categories (id, name), Articles (id, title, summary, article), ArticleAuthors (link between authors and articles) and ArticleCategories (link between article and categories). An article can have more than one author and more than one category. Is it possible to create a select statement that returns all the information (multiple authors and categories) for one article in one row? (no id's for the authors and categories)
Code:
Title Authors Categories Summary Article
----- ------- ---------- ------- -------
Title of article Author 1, Author 2 Cat 1, Cat 2, Cat 3 blablabla Lorum ipsum ...
thanx,
Pannix