chapter 5 Flashcards
(21 cards)
how is a non transferrable relationship represented
represented with the diamond on the relationship
what does an m to m relationship indicate
it shows that an entity is missing from the model
when do 1:1 relationships occur
1: 1 relationships commonly occur when roles are modelled (it is mandatory at one end)
1: 1 relationships occur when some entities represent the various stages in a process (only make a distinction between the 2 entities if there is a business need)
what is a redundant relationship
A redundant relationship can be derived from another relationship in the model.
what is important to check before resolving a redundant relationship
it is important to read the relationship before concluding that it is a redunddant relationship
how to resolve an m to m relationship
(answer template)____and since every attribute must belong to an entity, we need to create a third entity. This entity is called an intersection entity.
what is an intersection entity
It is the product of the resolution of a many to many relationship
how is the UID for the intersection entity shown as
it is represented by the BARRED RELATIONSHIP
what is a barred relationship
it is the relationship that participates in an entity’s unique identifier
what is a good way to validate an erd
by doing CRUD analysis
part of checking a datamodel for completeness and accuracy is mmaking sure that all the crud functions specified by the business scenario and the business rules are represented in the ERD
what is a function
used to perform calculations on data, modify individual data items, manipulate output for a group of rows, format dates and numbers for display, convert column data types, etc.
what are the keywords related to create function
−INPUT, ENTER, LOAD, IMPORT, RECORD, & CREATE
keywords related to retrieve function
VIEW, REPORT, BRING UP, PRINT, FIND, READ, & LOOK UP
what is an example of create function
“Whenever we get a new customer, we take down basic information (name, address, email) and assign an ID.” (CREATE)
what is an example of retrieve function
“We’d like to print out a list of the customers whose account is in arrears.” (RETRIEVE)
keywords related to update function
−CHANGE, MODIFY, ALTER, & UPDATE
example of update function
“When a customer pays their account, we alter their record by modifying the outstanding balance” (UPDATE)
what is an keywords of the delete function
−DISCARD, REMOVE, TRASH, PURGE, & DELETE
what is an example of the delete function
“A number of our customers were small businesses that were hit hard by the recession. They went out of business. We deleted them from our current records.” (DELETE)
performing crud analysis on your data helps you check for _________and ________
scope and completeness
whawt happens when your entites are not touched by the crud function (no business rule does crud operations)
then you may not need the entity in the model