Identify entities and relationships between them. If necessary, rewrite business rule so that each rule can be implemented either as a relationship or as a constrain that can be checked at data entry or update.

BYGB/ISGB 7973: DATABASE MANAGEMENT

Exercises on Data Modeling

And

One SQL assignment

 

 

DUE:

November 14

 

 

Use Oracle Data Modeler to Draw logical E-R Diagrams for the following exercises from the textbook. You should follow a successive refinement approach:

 

  • Identify entities and relationships between them. If necessary, rewrite business rule so that each rule can be implemented either as a relationship or as a constrain that can be checked at data entry or update.

 

  • Resolve ternary or higher order relationship by introducing associative entities. In Data Modeler, we can draw only binary relationship and unary relationships.  So if you are dealing with a ternary (or higher) relationship (e.g., a sales event brings a customer, a product, and a sales person together) you would introduce an “associative entity” and then define binary relationships between the original entities and the newly defined associative entity.

 

  • Although Data Modeler resolves many-to-many binary relationships when building relational model, I would suggest that you get into habit of resolving them in the logical model.

 

  • Identify cardinality for each relationship.

 

  • For each entity, identify the attributes that describe the entity. Select the attribute(s) that will be used to enforce uniqueness.

 

 

  • Identify attributes that will used to enforce referential integrity rules. In Oracle data modeler, a one to many relationship causes the primary key of entity on one side to become an attribute of the entity on many side. Of course, we can rename the inherited attribute.

 

  • Identify attributes associated with the relationships.

 

  • Define associative entities to resolve many to many or higher order relationships. Take extra care in identifying attributes for associative entities.  In many cases, the associative entity will “inherit the attribute” of the entities involved in the original many-to-many relationship (or higher order relationships.) The combination of the inherited attributes can be used to enforce the uniqueness condition for associative entity.  However, we often a surrogate key for the associative entity which then becomes the unique identifier for the entity.

 

  • If you have enough information from the description, identify the datatype for each attribute. For composite attributes like name and address, define a new structured data type. If not leave it as unknown.

 

 

  • Engineer the logical model into relational model.

 

  • Print the logical and relation models diagram to pdf files.   For structured data type, use screen shot to display the structure.

 

 

Submit one document that contains data model diagrams (logical model, relational model and the structured data type if any) for each of the following four problems from the textbook.  Specify any additional assumption

 

2 – 39a

 

2 – 39b

 

2 – 41

 

3 – 26

 

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
error: Content is protected !!