I have two tables, Books and Authors, with many-to-many relationship between them through a third table called book_authors, i am trying to list all the books with the authors for each book using an inner join in order to display them in a DataList Control, but the join is causing several duplicate rows, because each book may have many authors, so there will be a row for each author.
Example:
book_title author
b1 a1
b1 a2
解决这一问题的最佳途径是:
book_title author
b1 a1, a2