Professional Documents
Culture Documents
GRP.3 - Psa2 - Database Design - 09062023
GRP.3 - Psa2 - Database Design - 09062023
GRP.3 - Psa2 - Database Design - 09062023
Data modeling gives a structure for organizing and comprehending data. Furthermore, it
contributes to the creation of a streamlined, logical database that eliminates
redundancy, decreases storage requirements, and allows for efficient retrieval. Finally,
data modeling is an important step in two critical activities of a digital organization.
2. What is a business rule, and what is its purpose in data modeling? (CARPIO)
Understanding the rules, locating entities, figuring out relationships, defining attributes,
capturing constraints, normalizing the model, reviewing and improving, and
documenting the components are all steps in the process of converting business rules
into data model components. It makes sure that the data model supports effective
operations and is in line with business needs.
4. Describe the basic features of the relational data model and discuss their importance to
the end user and the designer.(MARC)
The basic features of the relational data model includes a table, matrix consisting of
rows and columns with intersections. The mentioned tables are called relations since
this is what gives the data relationships with one another, it is used to represent
entities and concepts of the real world. The rows or also known as tuples represents
records individually consisting of fields and records. The columns or attributes is the
characteristics and properties of the data. The importance of these to the end-users is
that they are able to interact with the tables when entering and querying data, Data
are more organized and easier to understand. When it comes to the designers, it is
able to be represented as a real-world concepts. Being able to do so will enhance
data integrity and be able to efficiently store and retrieve data. Overall, these
mentioned characteristics will provide a framework structured for both the end-users
and the designers in order to effectively manage, access, and secure the data.
5. Explain how the entity-relationship (ER) model helped produce a more structured
relational database design environment.(CRUZ)
A relationship describes an association between two or more entities. The three types
of relationships are:
b.) One-to-one: Student-Student ID. A student can only have a single student ID. A
student ID corresponds to only a single student.
c.) Many-to-many: Plate-dish: A plate can contain different dishes, similarly, a dish
can be put on a different plate.
B. PROBLEM SOLUTIONS
A. PROBLEM 1 (OROLA)
1.1 Write the business rules that govern the relationship between AGENT and
CUSTOMER.
There are two tables given. One of customer data and another of customer data.
Agent Code is an attribute present in both tables. It is also noted that there are
multiple customers present to every agent but only each customer has only one
agent. This is a one-to-many relationship. It can be written as One agent can
have many customers while each customer only has one agent.
B. PROBLEM 2 (CURFEW)
2.1 Identify each relationship type and write all the business rules.
The Region and Store’s relationship is 1 to many. This is because a store is located in
only one region.
The Store and the Employee’s relationship is 1 to many. This is because an employee
cannot work in more than one store at the same time.
The Job and the Employee’s relationship is 1 to many. This is because each employee
can have only one job assignment.
C. PROBLEM 3 (JOAQUIN)
3.1 Describe the relationships (identify the business rules) in the ERD here.
The relationships shown in this ERD are both One-to-many according to the Crow’s
foot notation.
D. PROBLEM 4 (TABANGAY)
Create a Crow’s Foot ERD to include the following business rules for the ProdCo
company:
a. Each sales representative writes many invoices.
b. One sales representative writes each invoice.
c. Each sales representative is assigned to one department.
d. Each department has many sales representatives.
e. Each customer can generate many invoices.
E. PROBLEM 5 (OROLA)
Write the business rules reflected in the ERD shown in the Figure below. (Note that the
ERD reflects some simplifying assumptions. For example, each book is written by only
one author. Also, remember that the ERD is always read from the “1” to the “M” side,
regardless of the orientation of the ERD components.)