Professional Documents
Culture Documents
(F1-FORMATIVE) Formative Assessment 1 Lealea
(F1-FORMATIVE) Formative Assessment 1 Lealea
CCS0021L
(INFORMATION MANAGEMENT)
[F1-FORMATIVE]
Formative Assessment 1
EXERCISE
1
EXPLORING THE ORACLE ENVIRONMENT
Section:
DM21
Professor:
Sir Tim Awat
1
.
2
.
3
.
4
.
4. Relational Models
This part consists the Tables, Views, Foreign keys, Schemas, Subviews, Physical Models and
Displays of the Logical Model when converted to its relational model equivalent.
These will appear when the + button is clicked beside the Relational Models
Then you will see in the center the Logical (Untitled 1) as your work area
And you will see these Logical model tools above when your Logical Model work area is opened
Note: If the Logical Model tool is not found, just right click on the blue area near the
Menu bar and click Logical Model on the options found
II. Now let us create a sample entity relationship model using the example below.
Create an entity relationship diagram of the following:
In this ERD, the business rule indicates that each department can have one or more employees or
many employees work in only one department.
Step 1: On the logical model work area, add a new entity by clicking on the “new entity” button.
Then click the + cursor on the work area, you will have something like this
Add another attribute by clicking the green + sign, then on the attribute properties type in the following:
Name: DeptName
Step 4: Create another entity using steps 1-3 but for the Employee entity.
Add the following attributes to the Employee entity
Attribute 1:
Name: EmployeeId
Datatype: Logical
Type: Numeric
Precision: 11
Scale: 0
Tick the “Primary UID” because this attribute is the primary key, and then click Apply.
Attribute 2:
Name: EmployeeName
Datatype: Logical
Type: varchar
Size: 100
Click “Mandatory” because a name of the employee should not be blank
Then click ok.
Step 5: Let us add a relationship between entities. Since the relationship is one to many, click the button
“1:M relation” button. Then click on the entity Department entity and click on the employee entity to get a
new dialog box like this:
Step 6: The current logical diagram notation above is Barker notation. Let us change it to Information
Engineering notation by clicking on the View tab of the Menu bar, then click on Logical Diagram notation,
and click Information Engineering notation.
This database system is simple to use for both database administrators and developers to design creative
applications for their corporate operations. The Oracle brand is well-known for its ongoing commitment to
the development of enhanced features to better assist small and large enterprises with their data
management needs. The most recent Oracle versions are 11G, 12C, 18C, and 19C.
Version 12C
Version 18C
Oracle 18C is the most recent version to be published as a stand-alone database. This self-driving
database secures and repairs itself. Version 18C is available on-premises or on the Oracle cloud. Based on
its release year of 2018, this version has begun a new Oracle version naming structure. As a result, there
are no discharges between 12 and 18 degrees Celsius.
VIII. REFERENCES
Hoffer, Jeff (2016). Modern Database Management 12th edition. Pearson Education Limited
Young, M. (2010). Oracle Data Modeling and Relational Database Design, Vol. 1 Student Guide,
Oracle.
2
DATA MODELING USING E-R MODEL
DM21
Section:
Sir Tim Awat
Professor:
The goal of a logical data model is to develop an entity relationship diagram that represents the information
requirements of the business. Logical data modeling is independent of the hardware or software to be used for
the implementation.
Entity-Relationship Diagram (ERD) is a detailed, logical and graphical representation of the entities,
associations and data elements for an organization or business area.
Associative entity is an entity type that associates the instances of one or more entity types and contains
attributes that are peculiar to the relationship between those entity instances. It is a relationship that can be
modeled as an entity type.
Relationship Types
One-to-One (1:1)
One-to-Many (1:M) or Many-to-One (M:1)
Many-to-Many (M:M)
Prepare an E-R diagram for an online shop. The following describes this organization:
Business Rules:
Task 1
Analyze the business rule and fill-in the relationship matrix in Table 2.2 to track the existence of
relationships between entities.
Task 2
Hoffer, Jeff (2016). Modern Database Management 12th edition. Pearson Education Limited
Young, M. (2010). Oracle Data Modeling and Relational Database Design, Vol. 1 Student Guide, Oracle.