I have created a database to keep track of my books. I have a table for the books (ID #, title, date published, ISBN, etc.), a table of people (ID #, name, etc. for authors and editors), and a table with one column for book ID numbers and one column for author ID numbers. If a book has more than one author it will have multiple entries in the third table.
When I do a query to display book information, including authors, for each book that has more than one author I get multiple rows in the result, one for each author. I would like to have just one row per book in the result, with all of the authors merged into one field. Separating the names with commas and blanks would be fine (e.g. “Jerry Pournelle, Larry Niven”).
Please tell me how to do this. I would prefer sticking to standard SQL if possible, but if this can’t be done then anything that works would be ok.
Thank you.