Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In the unit 1 assignment, we defined the relations and keys for a library system. In unit 2 we learned about constraints. For your unit

In the unit 1 assignment, we defined the relations and keys for a library system. In unit 2 we learned about constraints. For your unit 2 assignment, identify and describe the constraints that would be appropriate for the relations that we have within our library system. Constraints that you should consider may include:

Entity integrity constraint

Referential integrity constraint

Semantic integrity constraint

Domain constraint

Null constraint

Unique constraint

The constraints in Bold type should all be present in your assignment.

image text in transcribed

Book Relation Text (up to 60 characters Text lup to 40 characters) Title Author DSN_numbe Text Publicationdate Date Cost number Degree of relation: 5 Cardinality of re latian: cannot be defined at this point Primary key Candidate keys: IOSN_Number (number) uniquely identifies an instance (tuple) of a boak Author, Title Title, Author, PublicationDate IOSN number, Publication Date Borrower Relation card # 1 number Text Address Postal Code PhoneNumbernumber Membership Date Date 6 Library Card Name, Address, Postalcode Name, PhaneNumber Degree of relstion: Primary key Candidate keys: BookLended Relation Data CheckoutDateDate ReturnDate Book Librarian Date ext Text Degree of relation: Cardinality of relatian: Primary key Candidate keys: 5 cannot be defined at ths point Book, Borrower, CheckoutDate Book, Borrower, ReturnDate Book, Borower, Librarian Librarian Relation Data Number ubrarian Id Namc Phone Number ext Number Degree of relation: Cardinality of relation: Primary key: Candidate keys: 3 cannot be defined at this point Librarian id Name, Phone Number

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 2 Lncs 13427

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124251, 978-3031124259

More Books

Students also viewed these Databases questions

Question

What are the objectives of performance appraisal ?

Answered: 1 week ago

Question

State the uses of job description.

Answered: 1 week ago

Question

Explain in detail the different methods of performance appraisal .

Answered: 1 week ago