Each BANK has a unique Code, as well as a Name and Address. Each BANK is related to one or more BANK-BRANCHes, and the BranhNo is unique among each set of BANK-BRANCHes that are related to the same BANK. Each BANK-BRANCH has an Address. Each BANK-BRANCH has zero or more LOANS and zero or more ACCTS. Each ACCOUNT has an AcctNo (unique), Balance, and Type and is related to exactly one BANK-BRANCH and to at least one CUSTOMER. Each LOAN has a LoanNo

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 3TD
icon
Related questions
Question
Cardinality ratios often dictate the detailed design of a database. The cardinality ratio depends on
the real-world meaning of the entity types involved and is defined by the specific application. For the
following binary relationships, suggest cardinality ratios based on the following description of the
mini-world:
Each BANK has a unique Code, as well as a Name and Address. Each BANK is related to one or more
BANK-BRANCHes, and the BranhNo is unique among each set of BANK-BRANCHes that are related
to the same BANK. Each BANK-BRANCH has an Address. Each BANK-BRANCH has zero or more
LOANS and zero or more ACCTS. Each ACCOUNT has an AcctNo (unique), Balance, and Type and is
related to exactly one BANK-BRANCH and to at least one CUSTOMER. Each LOAN has a LoanNo
(unique), Amount, and Type and is related to exactly one BANK-BRANCH and to at least one
CUSTOMER. Each CUSTOMER has an SSN (unique), Name, Phone, and Address, and is related to
zero or more ACCOUNTS and to zero or more LOANS.
BANK:BANK-BRANCH
ACCOUNT:CUSTOMER
LOAN:CUSTOMER
BANCK-BRANCH:LOAN
[Choose ]
[Choose ]
[Choose ]
[Choose ]
<
>
<
Transcribed Image Text:Cardinality ratios often dictate the detailed design of a database. The cardinality ratio depends on the real-world meaning of the entity types involved and is defined by the specific application. For the following binary relationships, suggest cardinality ratios based on the following description of the mini-world: Each BANK has a unique Code, as well as a Name and Address. Each BANK is related to one or more BANK-BRANCHes, and the BranhNo is unique among each set of BANK-BRANCHes that are related to the same BANK. Each BANK-BRANCH has an Address. Each BANK-BRANCH has zero or more LOANS and zero or more ACCTS. Each ACCOUNT has an AcctNo (unique), Balance, and Type and is related to exactly one BANK-BRANCH and to at least one CUSTOMER. Each LOAN has a LoanNo (unique), Amount, and Type and is related to exactly one BANK-BRANCH and to at least one CUSTOMER. Each CUSTOMER has an SSN (unique), Name, Phone, and Address, and is related to zero or more ACCOUNTS and to zero or more LOANS. BANK:BANK-BRANCH ACCOUNT:CUSTOMER LOAN:CUSTOMER BANCK-BRANCH:LOAN [Choose ] [Choose ] [Choose ] [Choose ] < > <
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
SQL Query
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
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
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