Question: 1 . Author Attributes: AuthorID ( PK ) FirstName LastName Relation: Author ( AuthorID , FirstName, LastName ) 2 . Book Attributes: BookID ( PK
Author
Attributes:
AuthorID PK
FirstName
LastName
Relation:
AuthorAuthorID FirstName, LastName
Book
Attributes:
BookID PK
Title
AuthorID FK referencing AuthorAuthorID
Relation:
BookBookID Title, AuthorID
Reviewer
Attributes:
ReviewerID PK
FirstName
LastName
Relation:
ReviewerReviewerID FirstName, LastName
Review Report
Attributes:
ReportID PK
BookID FK referencing BookBookID
ReviewerID FK referencing ReviewerReviewerID
Rating
ReviewDate
Relation:
ReviewReportReportID BookID, ReviewerID, Rating, ReviewDate
Relationships & Foreign Keys
Book and Author:
OnetoMany relationship one author can write many books
Foreign Key: Book.AuthorID Author.AuthorID.
ReviewReport and Book:
ManytoOne relationship many review reports for one book
Foreign Key: ReviewReport.BookID Book.BookID.
ReviewReport and Reviewer:
ManytoOne relationship many review reports from one reviewer
Foreign Key: ReviewReport.ReviewerID Reviewer.ReviewerID. draw a GRD for all of this information
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
