0% found this document useful (0 votes)
33 views3 pages

Book Table Student Table

This document describes several database tables related to a library management system, including tables for books, students, staff, fines, and publishers. It also describes some normalization rules for database design including 1NF, 2NF, and 3NF. The tables listed include attributes like primary keys, foreign keys, and data about books borrowed, fines issued, publishers, and other entity information.

Uploaded by

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

Book Table Student Table

This document describes several database tables related to a library management system, including tables for books, students, staff, fines, and publishers. It also describes some normalization rules for database design including 1NF, 2NF, and 3NF. The tables listed include attributes like primary keys, foreign keys, and data about books borrowed, fines issued, publishers, and other entity information.

Uploaded by

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

Book table Student table

Book ID Primary key Student ID Primary key


Book name Name
Author Grade
Genre Section
ISBN Date the book was borrowed/bought x
Cost Gender
Date published Phone number
Publisher Email ID
Deliver date Book ID of the borrwed book/bought Foreign key
Book borrowed

1NF Rules 2NF Rules


Each table cell should contain a single value While in 1NF make a single column for primary key
Each record need to be unique Keeping the 1NF we indentify and create the prima
Staff table Fine Publishers
Saff ID Primary key Fine ID Primary key Publisher ID
Name Student ID Foerign key Book ID
Gender Staff ID Foreign key Name
Address Date of issue Gender
Phone Number Date of return Date of purchase
Email ID Cost of Fine (if any) Address
Borrowed book x Book ID Email ID
Book ID of the broowed book/bought Foreign key Phone number
ISBN number

3NF rules
While in 1NF make a single column for primary key Trainsitive functional dependicies is when changing
eeping the 1NF we indentify and create the primary and foreign key Keeping the 2NF ensure there are no transitive func
Primary key
Foerign key

al dependicies is when changing a non-key column which might cause any of th other non-key columns
sure there are no transitive functional dependicies, we can break down the table ensuring there are no repition of records

You might also like