What are the significant functional dependencies in this relation?         (b) What is/are the candidate key(s) of this relation? (c) is this relation in 1NF, 2NF, 3NF, BCNF? And why?

Database Systems: Design, Implementation, & Management
11th Edition
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Chapter10: Transaction Management And Concurrency Control
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

(a) What are the significant functional dependencies in this relation?        

(b) What is/are the candidate key(s) of this relation?

(c) is this relation in 1NF, 2NF, 3NF, BCNF? And why?

Consider the following relational schema which can be used to store information on the
repayments on loans.
REPAYMENT ( borrower_id, name, address, request_date, request_amount
loan_amount, repayment_date, replayment_amount )
A borrower is identified with a unique borrower_id, and has only one address. Borrowers can
request multiple loans, but they always have different request dates. The borrower can make
multiple repayments on the same date, but not more than one repayment per loan per date.
Transcribed Image Text:Consider the following relational schema which can be used to store information on the repayments on loans. REPAYMENT ( borrower_id, name, address, request_date, request_amount loan_amount, repayment_date, replayment_amount ) A borrower is identified with a unique borrower_id, and has only one address. Borrowers can request multiple loans, but they always have different request dates. The borrower can make multiple repayments on the same date, but not more than one repayment per loan per date.
Expert Solution
a) Functional dependencies:

Functional Dependencies (FD):

               It determines the relation between two attributes in database management system.

               It used to find difference between good and bad database

               It maintain quality of data

               Functional dependencies determined by arrow symbol 

Example:

Functional dependencies between A and B is determined by

                                AB

                       Bfunctionally dependent on AAdeterminant setBdependent attribute

Given Syntax:

Computer Science homework question answer, step 1, image 1

If we know the value of borrower_id, we can obtain name, address, request_date, request_amount, loan_amount, repayment_date, replayment_amount.

b) Candidate key

Candidate key:

          It is minimal set of attributes which is uniquely identify a tuple.

Rule for being candidate key:

  • Value of candidate key must be unique for every tuple
  • Value of candidate key should be not-null for every tuple
  • Possible of having more than one candidate key in a relation
  • It cab be simple or composite based on the relation

Given Syntax:

Computer Science homework question answer, step 2, image 1

Candidate key is borrower_id.

 

steps

Step by step

Solved in 3 steps with 5 images

Blurred answer
Knowledge Booster
Transaction Processing
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning