Computers and Technology

Given the data in the two tables, you can see that an AGENT – through the AGENT_CODE – can occur many times on the CUSTOMER table. But each CUSTOMER has only one AGENT.
This covers part of the business rules as:
• Each AGENT can have many customers
• Each CUSTOMER may have one AGENT.
However, this is very imprecise. Words such as “can” or “may” imply that the relationship is
optional, causing the crow’s-foot connector on the associated ERD to appear as this:
This symbol is always overused by students because it is misrepresented in the text. Optional
relationships are much more infrequent than what the text leads the reader to believe.
If we look at the data more closely, we see that there is no CUSTOMER who is not assigned an
AGENT; nor is there any AGENT who is not assigned a CUSTOMER. Therefore, the relationship is
NOT OPTIONAL. The business rules should not be written without “can” or “may”, and the crow’sfoot connector on the associated ERD to appear as this:
• Each AGENT has many customers
• Each CUSTOMER has one AGENT.
In addition, it is impossible to jump right to “many” without having at least a zero or a one, first. So the
business rule must also include that starting point in the relationship description. So the final, precise
business rules are written as:
• Each AGENT is assigned one to many customers
• Each CUSTOMER is handled by one and only one AGENT.
Written this way, we account for both beginning and ending symbols in the relationship, as well as the
bi-directional nature of all relationships.


Given the data in the two tables, you can see that an AGENT – through the AGENT_CODE – can

 
occur

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 14:00, uday50
Select the correct answer. a company is currently focusing on creating specific management goals for itself. which level of maturity is the company demonstrating under the sse_ccm framework? a. performed informally b. planned and tracked c. quantitatively controlled d. well-defined e. continuously improving
Answers: 2
image
Computers and Technology, 24.06.2019 11:00, iloveballet1857
Each row in a database is a set of unique information called a(n) ? a.) table. b.) record. c.) object. d.) field.
Answers: 2
image
Computers and Technology, 24.06.2019 11:30, nate1808
What does the https: // mean when you type in a website
Answers: 1
image
Computers and Technology, 25.06.2019 03:00, reearamrup27
Match the categories in the first column with examples in the second column. 1. good for watching movies 2. maximum power with small size 3. older style mobile devices that may or may not have internet connectivity tablet computer a.)pda b.)smart phone c.)tablet computer
Answers: 1
Do you know the correct answer?
Given the data in the two tables, you can see that an AGENT – through the AGENT_CODE – can occur...

Questions in other subjects:

Konu
Mathematics, 02.07.2020 22:01