0% found this document useful (0 votes)
7 views2 pages

Podd Ass One

The document outlines a library system consisting of four interconnected tables: Books, Authors, Members, and Loans. Each table has a primary key and specific columns detailing attributes such as titles, author information, member details, and loan records. The relationships between the tables are established through foreign keys linking books to authors and loans to both books and members.

Uploaded by

mthwgodard
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

Podd Ass One

The document outlines a library system consisting of four interconnected tables: Books, Authors, Members, and Loans. Each table has a primary key and specific columns detailing attributes such as titles, author information, member details, and loan records. The relationships between the tables are established through foreign keys linking books to authors and loans to both books and members.

Uploaded by

mthwgodard
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

A library system with four interconnected tables: Books, Authors, Members, and

Loans.
1. Books Table
 Table Name: Books
 Primary Key: BookID
 Columns:
o BookID (INT, Primary Key)
o Title (VARCHAR)
o AuthorID (INT, Foreign Key)
o PublishedYear (YEAR)
o Genre (VARCHAR)
2. Authors Table
 Table Name: Authors
 Primary Key: AuthorID
 Columns:
o AuthorID (INT, Primary Key)
o FirstName (VARCHAR)
o LastName (VARCHAR)
o BirthYear (YEAR)
3. Members Table
 Table Name: Members
 Primary Key: MemberID
 Columns:
o MemberID (INT, Primary Key)
o FirstName (VARCHAR)
o LastName (VARCHAR)
o MembershipDate (DATE)
4. Loans Table
 Table Name: Loans
 Primary Key: LoanID
 Columns:
o LoanID (INT, Primary Key)
o BookID (INT, Foreign Key)
o MemberID (INT, Foreign Key)
o LoanDate (DATE)
o ReturnDate (DATE)

You might also like