I am wondering how should I save authors (in case where there are more than one author) in simple database.
In case one one book has one authors, everything is easy. The
You need another table called BookAuthor
, you don't need the Authors
column in Books
BookAuthor
------------
BookID
AuthorID
Where the BookID references the PK (BookID) on Books and AuthorID references PK (AuthorID) on Authors
Select b.Title, CONCAT(a.[First Name], a.[Last Name]) As AuthorName
From Books b
JOIN BookAuthor ba ON b.ID = ba.BookID
JOIN Authors a ON ba.AuthorID = a.ID