A
Arts
I have two tables with one to many relation between them. Say, table Book
has a bookID and are related to a table Author with many authors in one book
like this:
Book: BookID Title
1 Jumping
2 Working
Author:
BookID Author
1 Fred
1 Mari
2 Else
2 Ann
I want to write a query that shows only one row per book with all authors in
one field like this:
BookID Title Author
1 Jumping Fred, Mari
2 Working Else, Ann
Is this possible?
has a bookID and are related to a table Author with many authors in one book
like this:
Book: BookID Title
1 Jumping
2 Working
Author:
BookID Author
1 Fred
1 Mari
2 Else
2 Ann
I want to write a query that shows only one row per book with all authors in
one field like this:
BookID Title Author
1 Jumping Fred, Mari
2 Working Else, Ann
Is this possible?