Lab – Data Analysis and Data Modeling in Visio
Overview
In this lab, we will learn to draw with Microsoft Visio the ERD’s we created in class.
Learning Objectives
Upon completion of this learning unit you should be able to:
▪ Understand the concept of data modeling
▪ Develop business rules
▪ Develop and apply good data naming conventions
▪ Construct simple data models using Entity Relationship Diagrams (ERDs)
▪ Develop entity relationships and define various types of attributes
Lab Goals
Our lab goals are to:
1. Learn to build conceptual models in Microsoft Visio.
2. Create the 5 ERDs from class in Microsoft Visio.
You will accomplish this by drawing the 4 diagrams from
…show more content…
Part 2: Microsoft Visio for Conceptual Modeling Walk-Thru
Overview
In this section, we will walk-through creating a conceptual data model with Microsoft Visio. We will use the vBay! (E-bay “like” website case study as an example for conceptual modeling.)
To Create an Entity:
Drag the [pic] icon onto the page and drop. Name the entity in the database properties window:
[pic]
YOU DO IT:
Now add these 4 Entities to your diagram:
[pic]
To Add Attributes to the entity:
To add attributes to your entity, simply click on the columns section of the database properties window, and enter in your column names. Be sure to include the appropriate attribute descriptors [rucdm] with the physical name. Ignore the data type Req’d and PK columns. Those are used in logical modeling.
[pic]
YOU DO IT:
Now add attributes to all 4 entities, like this:
[pic]
To Add Relationships among the entities:
To Add Relationships, simply drag the appropriate relationship cardinality (for example: [pic]) onto the page and connect the ends to each entity. To “snap” the line to the entity drag the line end onto the box until it turns red, like this. Red symbolizes the shapes are glued together:
[pic]
After to glue both ends of the line to an entity, you can double-click on the line to assign it a label. For example:
[pic]
YOU DO IT:
Now add
| If you need to set a property by typing a long text entry, you can open the ____ dialog box and type the entry in the dialog box. d.
The symbol ¶ or abbreviation “para.” Both are acceptable (¶ can be found on the Insert
* As explained throughout this course, entity relationship modeling is a critical element of database design. If the database is not properly modeled, it is unlikely that the database will be properly developed. Using this knowledge, explain the key reasons why entity relationship modeling is important, and determine at least (1) way in which it impacts the overall development of the database.
2. using the data requirements and the business rules provided, develop a conceptual model (ERD), including attribute data types and required field lengths; and
According to Kroenke and Auer (2010) there is an ERD standard, albeit very loosely practiced. The diagrams use combinations of rectangles and diamonds. Entity classes are shown using rectangles, relationships are shown using diamonds, the maximum cardinality of the relationship is shown inside the diamond, and the minimum cardinality is shown by the oval or hash mark next to the entity. The name of the entity is shown inside the rectangle and the name of the relationship is shown near the diamond.
Write an unambiguous definition for each attribute. Then, redraw PE Figure 7-1 by placing the six (and additional) entities in this case on the diagram along with their associated attributes.
“Many to Many” is different with other two. To build “Many to Many” relationship you need to have at least three tables. It is because “Many to Many” cannot make the connection directly. For example, a student can choose many course but a course can have many student too so you cannot actually link them together. To link them, you will need a table to transfer data so the relationship will become “Many to One” and “One to Many”.
6. Unit_of_Measure - Should be in its own table with an ID and a foreign key added to the Inventory table.
As the information system is designed, implementation decisions describing how the system will work are made. Data flow diagrams offer those implementation details, including data stores that refer to files and database tables, programs and human actions that perform processes. The automated parts of the system are differentiated from the manual parts by the human-machine boundary (Dennis, Wixom,
In this lab, you will prepare a Data Dictionary based on the list of elements. Also, your task will be determined the tables, their relationships, primary and foreign keys. Based on this analysis, you will create Database Schema, relational tables, Entity –Relational Diagram (ERD), establish connection to your local MySQL Server, create physical database and insert data to the tables.
• Entity-relationship modeling is logical representation of the data for an organization or for a business area. The E-R model is expressed in terms of entities in the business environment, the relationship among those entities, and attributes of both entities and their
To enforce referential integrity for this relationship, select the Enforce Referential Integrity check box. Click Create. Access draws a relationship line between the two tables. If you selected the Enforce Referential Integrity check box, the line appears