Question

Read the following scenario and answer the question below: The Faculty Commons, a faculty run organization,...

Read the following scenario and answer the question below:

The Faculty Commons, a faculty run organization, maintains a library of hard-to-find books on pedagogy and these books are available for faculty to borrow. The Faculty Commons would like to track this loan process including the books, the date a book is loaned out, the date a book is due to be returned, and the actual date the book is returned. One faculty member may borrow many books and one book may be borrowed by many faculty members, over time. The Faculty Commons wants to track the full name, email address, and SID* for each faculty member. The Faculty Commons has contracted you to design a database that meets these requirements.

*A SID is the system identification number issued by the College to all members of the College, including faculty, as a unique identifier. The Faculty Commons is an entity that is part of, but separate from, the College, and thus does not issue and has no control over SIDs.

Question: What tables and fields of each table that needed for the requirements of the scenario?

Homework Answers

Answer #1

Following are the tables and the fields required for the scenario.

1. The table FACULTY is storing the details of Faculty. Primary key is SID.

FACULTY(SID VARCHAR(5), FULLNAME VARCHAR(20), EMAIL VARCHAR(20), PRIMARY KEY(SID))

2. The table BOOK is for storing the deatils of each book in the library. Primary key is BOOK_ID.

BOOK(BOOK_ID VARCHAR(15),BOOK_NAME VARCHAR(50),AUTHOR VARCHAR(30),PUBLISHER VARCHAR(50),YEAR_OF_PUBLICATION INT, PRIMARY KEY(BOOK_ID))

3. The table BOOK_LOAN is for storing the details of book issued. Here primary key is a combination of (BOOK_ID,SID, DATE_OF_ISSUE). The reason is a book can be issued to same faculty. So combination of BOOK_ID and SID is not enough. Hence we have taken the combination (BOOK_ID,SID, DATE_OF_ISSUE) for making it unique and the primary key. BOOK_ID is foreign key from BOOK and SID is foreign key from FACULTY.


BOOK_LOAN(BOOK_ID VARCHAR(15),SID VARCHAR(5),DATE_OF_ISSUE DATE,DATE_DUE DATE,DATE_OF_RETURN DATE, PRIMARY KEY(BOOK_ID,SID,DATE_OF_ISSUE), FOREIGN KEY BOOK_ID REFERENCES BOOK(BOOK_ID), FOREIGN KEY SID REFERENCES FACULTY(SID))


Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Scenario: University Library System Requirements The library contains books and journals as library material. It may...
Scenario: University Library System Requirements The library contains books and journals as library material. It may have several copies of a given book or journal. All library material has an id #, a title and one or more authors. Further the library categorizes all library material as reference-only items or regular items. Referenceonly items can be loaned for 2hrs and can’t be removed from the library. Regular items may be borrowed by any library member for three weeks. Only members...
Draw the E-R diagram (5 pts) and petri-net (7 pts) for the following requirements in a...
Draw the E-R diagram (5 pts) and petri-net (7 pts) for the following requirements in a college library: There are two types of books: regular and reserved, and two types of users: students and faculty members. A student can check out a regular book for 1 month, while a faculty member can borrow one for 2 months. A late return will incur a fine measured by the number of days. A reserved book can be checked out by any user...
You have to create a Library Borrowing System based on the following requirements: When new books...
You have to create a Library Borrowing System based on the following requirements: When new books arrive, these books must be cataloged into the system by a librarian (i.e., entered in the system). Information on a book should include book ID, title, author ID, ISBN, and edition. The system should capture author names so that users can search for an author. The library may carry multiple books by the same author, and an author can have multiple books in the...
PLEASE READ THE ARTICLES ATTACHED AND ANSWER THE FOLLOWING QUESTION. THE ARTICLES ARE BOTH LISTED PLEASE...
PLEASE READ THE ARTICLES ATTACHED AND ANSWER THE FOLLOWING QUESTION. THE ARTICLES ARE BOTH LISTED PLEASE PROVIDE DETAILED EXPLANATIONS. PLEASE WRITE ONE REFLECTION COMBINING BOTH ARTICLES. The purpose of the Article Reflection is to deepen your engagement with the topic of Epidemiology. It will give you the opportunity to reflect on the current real-life epidemiological issues at hand and help to bring meaning to them. ARTICLE 1: A group of students knew they had covid-19. They hosted a party over...
Please read the article below, and answer the questions that follow. In doing so, remember the...
Please read the article below, and answer the questions that follow. In doing so, remember the following, - Although the use of generic theories, covered in class/your module guide/text book will provide a framework, the expectation for the student is to be able to discuss it in context with research relevant to South Africa and your own reflective experiences. - You are required to extensively research current South African trends, amidst our changing political landscape and benchmarked against a global...
Please read the article and answear about questions. Determining the Value of the Business After you...
Please read the article and answear about questions. Determining the Value of the Business After you have completed a thorough and exacting investigation, you need to analyze all the infor- mation you have gathered. This is the time to consult with your business, financial, and legal advis- ers to arrive at an estimate of the value of the business. Outside advisers are impartial and are more likely to see the bad things about the business than are you. You should...
In narrative essay format, I want you to address a business/organization case study using multiple concepts...
In narrative essay format, I want you to address a business/organization case study using multiple concepts from class. The case question and case text begin on page 5 of this document. You need to demonstrate their best understanding of management and organizational behavior theory, and the application of those ideas to improve the understanding of various issues. You need to clearly identify at least 3 distinct, substantive issues. For each issue you need to 1), identify evidence from the case...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...
Mattel Responds to Ethical Challenges Business Ethics This case was written by Debbie Thorne, John Fraedrich,...
Mattel Responds to Ethical Challenges Business Ethics This case was written by Debbie Thorne, John Fraedrich, O. C. Ferrell, and Jennifer Jackson, with the editorial assistance of Jennifer Sawayda. This case was developed for classroom discussion rather than to illustrate either effective or ineffective handling of an administrative, ethical, or legal discussion by management. All sources used for this case were obtained through publicly available material. Mattel, Inc. is a world leader in the design, manufacture, and marketing of family...