Preview

ITM500 W08 01 AdvancedModeling

Satisfactory Essays
Open Document
Open Document
600 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
ITM500 W08 01 AdvancedModeling
Advanced Modeling

1

Objectives





Gain an understanding of more advanced modeling techniques
Understand primary key selection
Learn how to build a physical database from a logical model

2

Agenda





Unary or recursive relationships
Entity integrity: Keys
Interesting design cases
Converting logical model to a physical model 3

Last Class Review


JOINS




ANSI and traditional join syntax

DML
 insert
 update
 delete

4

Unary, Recursive,
Relations




A relation where source and target are a same entity
Can be 1:N or N:M




Manager - Employee
Social network relationships
Part-subpart

5

Primary Keys




The function of a primary key is to guarantee entity integrity.
Primary keys are used as foreign keys in other entities that need to refer to this entity.

6

Primary Key Properties







Unique values
Non-intelligent
No change over time
Minimum number of attributes
Security/Privacy compliant
Preferably numeric

7

Single Attribute vs.
Composite PKs






Strong entities should preferably have single attribute primary keys
Weak entities most often have composite primary keys: parent’s PK plus child’s identifying attribute
Associative entities usually have composite primary keys made of PKs of the two associated entities
8

Surrogate Keys



Best practice or workaround solution?
Automatically satisfy all the PK properties:







Unique values
Non-intelligent
No change over time
Minimum number of attributes
Security/Privacy compliant
Preferably numeric
9

Design Case 1:
Implementing 1:1
Relationships
Where to put the FK?


ER Relationship
Constraint

Resolution

One side is mandatory and the other optional

PK of the mandatory entity goes in the optional entity as a FK. The FK is mandatory. Both sides are optional PK from the entity that appears in more relationships goes into the “more optional” entity.
Both sides are mandatory Are the two entities not the same one?
Can you use the same attribute as a PK

You May Also Find These Documents Helpful

  • Good Essays

    It302-Unit4

    • 648 Words
    • 3 Pages

    My first idea was to create a dashboard that was focused mainly Xeno Sales overall profit. This was a simple dashboard which was to show the user exactly how much profit or loss the Xeno Sales Company has for the year on a monthly basis. This dashboard would only have a couple of graphs that displayed the monthly profits throughout the year so the user can distinguish trends or trouble months. My second idea is a dashboard which focused on both Xeno Sales overall profit and the individual stores and their corresponding areas sales and expenditures. This is a complex dashboard which would provide the user with everything they would want to know as far as profit margins are concerned. This dashboard would consist of customizable graphs which can display the monthly sales, expenditures, the overall profit, the expected profit, and the average profit growth.…

    • 648 Words
    • 3 Pages
    Good Essays
  • Best Essays

    Is3350 Unit 1 Assignment

    • 3307 Words
    • 14 Pages

    In order to calculate the timing of an activity ‘Duration’ of the activity needs to be summed up with the ‘Earliest Finish…

    • 3307 Words
    • 14 Pages
    Best Essays
  • Satisfactory Essays

    IT220 Unit 5 assignment

    • 286 Words
    • 2 Pages

    Ethernet LANs: collection of devices which use IEEE Ethernet standards at the physical and data link layers, so that the devices can send Ethernet frames to each other…

    • 286 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    It230 Unit 3 Assignment 1

    • 5629 Words
    • 23 Pages

    We declare that the this project proposal report or part of it was not a copy of a document done by any organization, university, any other institute or a previous student project group at SLIIT and was not copied from the Internet or other sources.…

    • 5629 Words
    • 23 Pages
    Powerful Essays
  • Good Essays

    Mgmt 520 - Homework

    • 459 Words
    • 2 Pages

    In nowadays, background check of hiring employee is practicing by almost all agencies. Point is that, the skills of the applicant can be, somehow, figured out. It is much more difficult to assess the level of trust, honesty, mental toughness, and loyalty. Reading through chapter 9, and conducting a slight research, my answers to the questions of the given scenario are as follows:…

    • 459 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    It331 Documentation

    • 4913 Words
    • 20 Pages

    Infinet is a company that has been providing networking and data communications solutions for companies since 1994. Infinet has throughout the years stayed on top of current networking trends and technologies to ensure reliability and extensive network lifetimes for Infinet’s customers.…

    • 4913 Words
    • 20 Pages
    Powerful Essays
  • Good Essays

    Linear models are a part of everyday life, but many times they are not easily visible. They can be easily related to our life experiences. Read each of the three scenarios below to see how linear models show up in our lives and how we can use them to make decisions. Answer the related questions.…

    • 777 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Is3350 Unit 1 Assignment

    • 1635 Words
    • 7 Pages

    Students must sign here ………………………………………… to show that they have read and adhered to the University plagiarism regulations as stated in the student handbook.…

    • 1635 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    U3L5AssessmentTemplate 2

    • 444 Words
    • 3 Pages

    1. Explain what it means when we say a substance is magnetic. (HINT: Be sure to mention the role of the Electrons) If a substance is magnetic, we are actually saying that it is able to be acted upon by a magnetic field. When electricity flows through a circuit, it creates a magnetic field.When a magnet cuts across a circuit, a voltage is produced.…

    • 444 Words
    • 3 Pages
    Good Essays
  • Good Essays

    My decision would be to hire an outside design engineering firm based on the direction in which I think that the firm should go. This is going to allow the company the benefit of finding people with the expertise in new technology. I am also positive that the job would be done faster than through the use of other methods. Most companies employ a number of methodologies and techniques to improve business and technology alignment. However, none of these approaches focuses on integrating and enabling…

    • 876 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Mgmt 510 Outline

    • 1356 Words
    • 6 Pages

    CATALOGUE DESCRIPTION : Short-Run fluctuations vs. Long-Run growth of an Economy Growth Domestic Product. Keynesian consumption and saving functions. Determinants of investment and net exports. Determination of equilibrium level of income in simple Keynesian model and the effects of Fiscal policy and Random shocks on macroeconomic equilibrium based on income-expenditure approach. Injection- Leakages approach to the analysis of equilibrium in simple Keynesian model. IS-LM model of an open economy and the effects of Monetary and Fiscal policy and Random shocks.…

    • 1356 Words
    • 6 Pages
    Satisfactory Essays
  • Powerful Essays

    Is3350 Unit 4 Assignment

    • 939 Words
    • 4 Pages

    Purpose – Technical writing is geared towards action and academic writing is informative in nature.…

    • 939 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    Unit I HW MBA5101

    • 521 Words
    • 2 Pages

    The impact of globalization and the Internet presents real challenges for corporate strategic planners across the world. What is the impact of globalization and the Internet on the corporate world? Explain the important role of strategic planning in today’s competitive business world in light of these two forces?…

    • 521 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Dbmq Model

    • 135 Words
    • 1 Page

    The U.S. Center for Disease Control and Prevention’s (CDC) Division of Global Migration and Quarantine (DGMQ) is the premier division within CDC which has positively changed public health in our communities. The division is a part of CDC’s National Center for Emerging and Zoonotic Infectious Disease both work together to protect people at home and around the world from diseases.…

    • 135 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Week 3

    • 754 Words
    • 4 Pages

    makes the physical database available for different logical views. makes the logical database available for different analytical views. makes the physical database available for different analytical views. makes the relational database available for different analytical views.…

    • 754 Words
    • 4 Pages
    Satisfactory Essays

Related Topics