Database Assignment: Separating Apples from Oranges
A public library records data about the details of each transaction in one large file, consisting of Patron Name, Patron Address, Book ID, Book Title, Book Author, Borrow Date, Due Date, and Return Date. No separate record is kept of patrons, books, and book borrowings other than in this file. As shown below, when a book is to be checked out, the various details of that borrowing are recorded in this file as a new row:
Patron Name |
Patron Address |
Book ID |
Book Title |
Book Author |
Borrow Date |
Due Date |
Return Date |
J. Smith M. Jones G. Hart V. Hicks E. Rice M. Jones |
12 Elk 25 Sun 73 Sera 22 Mann 69 Witt 25 Sun |
AAA BBB CCC AAA DDD CCC |
Peace War System Peace Spring System |
A. Bart M. Hine N. Vang A. Bart F. Lyon N. Vang |
03/04/03 03/04/03 03/05/03 03/19/03 03/06/03 03/26/03 |
03/18/03 03/18/03 03/19/03 04/02/03 03/20/03 04/09/03 |
03/15/03 03/19/03 03/23/03 04/02/03 03/08/03 04/08/03 |