Task 1 The Library of a school has just been filed with new books. The the books in shelves and those on loan. A Reader in this college may have more than one book out on loan. Apart from the Reader ID (identity), a Reader may also have the following information of obvious meaning: surname, first name, title, address, town, sex, and a Book: book ID, title, Author, publisher and dateofpub (i.e. date of publication). library attendant has a major problem keeping track of (a) In your answer booklet, deseribe these tables in terms of relation and attribute names. (b) From the above tables we cannot say who has which book on loan. Some possibilitics include: adding fields to table, Book or table, Reader, or creating a third table called Loan. Express the loan relation table as a table having only FOUR FIELDS, two of which are the date due and date taken fields. (c) Create the table below using the DBMS software selected to complete the ficlds for Loan. Save and print a copy of cach table. READER BOOK LOAN Field Enumera -ted Field Data Field Data Field size Field Data type Field size type size type values bookID Title Author ReaderID Text Text 20 Text Text Date Date 9. Surname Text 20 Text Text Firstname Text 20 20 Datepub Date 20 Date Date Date Sex Text F,M Publisher Text

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Task1 

Question(a), (b) and (c)

Task 1
The Library of a school has just been filled with new books. The library attendant has a major problem keeping track of
the books in shelves and those on loan. A Reader in this college may have more than one book out on loan. Apart from
the Reader ID (identity), a Reader may also have the following information of obvious meaning: surname, first name.
title, address, town, sex, and a Book: book ID, title, Author, publisher and dateofpub (i.e. date of publication).
(a) In your answer booklet, describe these tables in terms of relation and attribute names.
(b) From the above tables we cannot say who has which book on loan. Somc possibilitics include: adding fields to
table, Book or table, Reader, or creating a third table called Loan. Express the loan relation table as a table
having only FOUR FIELDS, two of which are the date due and date taken fields.
(c) Create the table below using the DBMS softwarc selected to complete the ficlds for Loan. Save and print a copy
of cach table.
READER
BOOK
LOAN
Field Enumera
-ted
Field
Data
Field
Data
Field size
Field
Data type Field size
type
size
type
values
ReaderID
Surname
bookID
Title
Author
9|
Text
Text
Text
Text
Date
Date
Text
16
Text
20
20
Text
20
20
Datepub Date
Publisher Text
Firstname Text
Date
Date
Date
Sex
Text
F,M
20
(d) Create an Entity-Relationship diagram for the three entities showing the correct cardinalities.
Save and print a copy.
(e) Populate the tables with the following data. Save and print a copy of each table.
ВOOK
booklD
lib001
lib002
lib003
lib004
title
author
dateofpub
8/6/2013 neba printers
7/3/2013 neba printers
4/6/2011 emengu
11/7/2012 emengu
4/10/2013 macmillan
8/7/2012 emengu
2/9/2012 Anucam
10/13/2010 neba printers
7/7/2013 two brothers
2/6/2013 Oxford
publisher
Naty
Naty
Tazi
Advanced computingTazi
Cinlair
Cinclair
Mbong
Newton
Nfor
Nabot
csc7
ict7
csc5
lib005 Physical geo
Econs geo
lib006
lib007 College maths
Advance physics
lib009 principe of physics
lib010 College Maths
lib008
Transcribed Image Text:Task 1 The Library of a school has just been filled with new books. The library attendant has a major problem keeping track of the books in shelves and those on loan. A Reader in this college may have more than one book out on loan. Apart from the Reader ID (identity), a Reader may also have the following information of obvious meaning: surname, first name. title, address, town, sex, and a Book: book ID, title, Author, publisher and dateofpub (i.e. date of publication). (a) In your answer booklet, describe these tables in terms of relation and attribute names. (b) From the above tables we cannot say who has which book on loan. Somc possibilitics include: adding fields to table, Book or table, Reader, or creating a third table called Loan. Express the loan relation table as a table having only FOUR FIELDS, two of which are the date due and date taken fields. (c) Create the table below using the DBMS softwarc selected to complete the ficlds for Loan. Save and print a copy of cach table. READER BOOK LOAN Field Enumera -ted Field Data Field Data Field size Field Data type Field size type size type values ReaderID Surname bookID Title Author 9| Text Text Text Text Date Date Text 16 Text 20 20 Text 20 20 Datepub Date Publisher Text Firstname Text Date Date Date Sex Text F,M 20 (d) Create an Entity-Relationship diagram for the three entities showing the correct cardinalities. Save and print a copy. (e) Populate the tables with the following data. Save and print a copy of each table. ВOOK booklD lib001 lib002 lib003 lib004 title author dateofpub 8/6/2013 neba printers 7/3/2013 neba printers 4/6/2011 emengu 11/7/2012 emengu 4/10/2013 macmillan 8/7/2012 emengu 2/9/2012 Anucam 10/13/2010 neba printers 7/7/2013 two brothers 2/6/2013 Oxford publisher Naty Naty Tazi Advanced computingTazi Cinlair Cinclair Mbong Newton Nfor Nabot csc7 ict7 csc5 lib005 Physical geo Econs geo lib006 lib007 College maths Advance physics lib009 principe of physics lib010 College Maths lib008
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Risks related to security
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education