Beruflich Dokumente
Kultur Dokumente
Readings
As with many things, before we can actually sit down to implement a
database we need to plan what we want to do. Just as you wouldnt
build a house without blueprints, we never build a database with a
schema model. The ER diagram is the start of the database design
process. The E-R model has been enhanced over time in order to
deal with complex data encountered in todays business
environment. The term enhanced entity-relationship (EER) model is
used to identify the model that has resulted from extending the
original ER model. The most important modeling construct
incorporated in the EER model is supertype/subtype
relationships. This feature enables us to model a general entity and
then subdivide it into several specialized entity types. In addition,
just as there are rules governing how we build houses there are also
rules in the form of business rules that define and constrain the
structures we build in a database. Understanding how business rules
apply to database structures is an important concept in the design
of a database.
We will also continue our study of the overall database environment and the components that
make up that environment. We will use T-SQL to create two tables for the database structure we
previously created.
Learning Objectives:
Explain how relationships between entities are defined, refined, and incorporated into
o
o
database design.
Demonstrate how ERD components affect database design.
Understand the main characteristics of entity relationship components.
Read Chapter 4 and review the slides from Database Systems Design,
Implementation, and Management. The links to the PowerPoint slides are
located below.
Additional reading: Chapter 1 and 2, Microsoft SQL Server 2012 T-SQL
Fundamentals, Itzek Ben-Gan
Make use of any outside web or text resources available to you to complete the
assignments.
Useful Links
ER Modeling
Please review the document at the following link: ER Modeling
following:
Assignment Week 3
1. Use the following Crows Foot ERD to write the ten cardinalities appropriate
for the ERD.
Put the answer into a single Word document and submit to the link provided below.
Save the
Machine_Product
Machine_Price
Each table will have the two attributes indicated in the example above. The
MACHINE_PRODUCT and BOOTH_PRODUCT will be character data type
and the two price fields will be a money data type. Copy and paste the TSQL table create statements into your assignment submission for this part
of the assignment. Preceding your T-SQL create table statement use the
following statements:
use cis305;
if object_id('dbo.booth', 'U') is not null
drop table dbo.booth;
Read the narrative for your assigned group project. Based on this narrative each of you will
individually develop an ERD for the project. Be sure to include any "parent/child" relationships
you may deem to be significant.
(25 points)
Quiz 2 (Chapter 3)