Author
Author
Scenario
A publishing house wants to maintain a database to manage information about authors, their published books,
genres, and contact details. They aim to streamline their operations and ensure quick retrieval of information for
business, marketing, and analytics.
Requirements
1. Maintain author details (Name, Date of Birth, Nationality, Contact Information).
2. Store details of books authored (Title, Genre, Publication Year, ISBN).
3. Track author-book relationships (as some authors may co-author books).
4. Generate reports, such as:
o List of all books by a specific author.
o Books published in a particular genre.
o Contact list of authors.
Project Plan
1. Design the Database
Tables
1. Authors:
o AuthorID (Primary Key)
o Name
o Email
o Phone
2. Books:
o BookID (Primary Key)
o Title
3. AuthorBook (Relationship Table):
o AuthorBookID (Primary Key)
o AuthorID (Foreign Key)
o BookID (Foreign Key)
Authors Table
AuthorID FullName Email Phone
1 J.K. Rowling [email protected] 1234567890
2 George Orwell [email protected] 9876543210
Books Table
BookID Title
1 Harry Potter Series
2 1984
AuthorBook Table
AuthorBookID AuthorID BookID
1 1 1
2 2 2