Professional Documents
Culture Documents
Student’s Name
Institution
Database Design Project 2
Introduction
This report aims to analyse Blue Mountains College database that stores data and information
about a teaching process. As concept mapped, the teaching process involves interactions
between key entities; these are, the students, Lecturers, staff, along with the employees. Other
entities that are also equally essential in the database include courses, classes, departments,
faculties, college and the rooms in which the teaching occurs. In analysing the entities as well
as the attributes and any other relevant aspect of the database, assumptions will be made and
thus there may be assumptions on the entities that need to be allocated to this database in
addition to the ones that are clearly given by the case study as well as for the attributes there
will be assumptions as to those that need to be part of the database. This paper has two
sections; the first section discusses the conceptual model and the second section describes the
1. Identification of Entities
In relational databases, entities are easily identified because they form the main building
blocks. Database entity refers to time, unit, person, place, object, or anything about which
data is captured and stored in the form of tables, properties, or workflow (Riggs et al. 2019).
Although tables and workflows are optional for database entity, properties are considered
essential since entity cannot exist without properties. In the context of relational databases,
properties imply attributes thus entities must possess attributes. In the case of the Blue
VII. Student- Student-ID, Student first_name, Student last_name, Student ID, Email.
XI. Lecturer – Lecturer ID, Lecturer Code, Lecturer Rank, Lecturer Specialty, Employee-
ID.
Entity supertypes are generic entities that are associated with a single or multiple subtype
such that the entity supertype contains similar characteristics while the entity subtypes
contain inimitable attributes for every particualar entity subtype (Al-Masree, 2015). An entity
supertype, on the other hand, refers to an entity type that is related to one or more subtypes
whereby it possesses shared attributes of its subtypes. Following this description, an entity
subtype can be defined as the entity contained in an entity subgroup and has shared attributes
from their particular entity supertype. It is important to note that the attributes found in the
Inheritance is another key component in entity subtypes and supertypes and can be defined as
that which determines the specific subtype where the occurrence of the supertype will be
related (Harrington, 2016). With regards to the Blue Mountains College database, some entity
I. Employee Entity- This is an example of a supertype entity and has more than one
subtype. These subtypes are Lecturer entity, admin entity, and staff entity. The
Employee supertype entity also has shared attributes for its subtypes such as,
Employee First Name, Employee Last Name, Employee ID, and Hire Date attributes.
II. Faculty Entity- This is another example of supertype that has one subtype, the
III. Department Entity- Comprises of the student subtype and the course subtype. The
IV. Class Entity- This supertype has the enrolment subtype and shared the Class ID
attribute.
In the context of relational databases, cardinality can be defined as one data aspect being
relative to the other data aspect. Cardinalities (both maximum and minimum) also are
represented for both directions of the relationship and are placed in parentheses with the
minimum cardinality on the left and the maximum cardinality on the right. Concerning this
case study, cardinality helps describe how certain entities relates with others in the form of
either one-to-one, one-to-many, many-to-one, and many-to-many. Using the Blue Mountains
one table row in the first entity relates only with one row in the second entity. As for a one-
to-many cardinality, a single table row in the first entity relates to several other rows in the
Database Design Project 5
second entity. Lastly, a many-to-many cardinality refers to a scenario whereby the several
table rows in the first entity relates with several other rows in the second entity. Cardinalities
therefore describe the maximum and minimum number of entities which may be linked to the
second entity.
Surrogate Keys are any column or columns that satisfy the criteria of primary keys rather
than natural or real primary keys. A candidate key refers to a super key with no repeated
attribute. Each table must contain at least one candidate key and the primary key is chosen
from the list of candidate keys. A primary key is a special constraint on a column or in a set
of columns that is used to uniquely identify each row. The value can neither be duplicate nor
The Table 1 indicates some of the surrogate, candidate, and primary keys from Blue
requirements and serves as a focal point for discussing requirements and determines whether
the user needs are correctly understood. The basic component of the Blue Mountains College
database teaching process is the Entity, which represents the ‘real world’ object of concern.
The Attributes in the diagram describes Entities which contain specific data elements for
which the data is stored. As illustrated, Entities are connected via links (these are represented
by lines); these Entities demonstrate the correlation between two or more Entities.
Database Design Project 8
Attributes are the features that entities possess in each database. Each Entity attribute is
described by a name that is relevant to what it does or its relevance to the entity. Every
attribute also bears more features such as its type of data, whether the attribute is null or not,
default values if needed, and also format limiters that the attribute can contain. Concerning
the case of Blue Mountains College, the main attributes identified for the database are
illustrated as follows:
Employees:
The Employee Entity contain the following attributes and their associated data types:
Staff
Administrator:
Lecturer
Database Design Project 9
Faculty
I. Faculty ID: Contains an integer data type string to accommodate symbols, numbers,
and letter.
Department:
Course:
Student:
Enrollment:
Room:
Building:
Class:
I. Class ID: Unique ID for each class is assigned data type string.
Foreign keys refer to attributes for one entity which refers to values in an attribute in a
different entity. Foreign keys are the cornerstone of relationships in relational databases and
Database Design Project 11
eliminates complexity so that data and fields are not repeated when represented within
database tables. Harrington (2016) submits that a consistent naming convention ought to be
specified and used throughout the database in relation to foreign keys. For example,
Attributes and Entities are generally named using singular nouns. The actual convention
chosen may be subject to the database software utilised. Certain databases will permit several
words for attribute and entity names, such as Emp_ID for department and Dept_ID for
course. The Blue Mountains College database has the following foreign keys as shown in
Table 2.
Database tables can be related in multiple ways. A one-to-one relationship is one, one to
many and many to many are others. A one-to-one relationship exists when one row in a table
is linked with exactly only one row in another table. This is the least common database
relationship since it does not offer much in terms of benefit to break the fields out of the
“main” table. Also, a one-to-one relationship is not a property of the data, instead it is of the
relationship itself.
A true one to one relationship is one where each table may contain only one row for each
At any instance, one staff member will be allocated to one student to be his or her
advisor.
Database Design Project 13
Conclusion
This study has designed the conceptual model of Blue Mountains College teaching process
discriminators. The study has also described the relationship between entities and their
the Entities has been developed. Similarly, a logical model showing the attributes and their
types for each entity has been described. These are analysis approaches which can be used to
clearly perceive how the database is structured and how it can work and function in
implementing the gaols of the collage in storage, retrieval and manipulation of relevant data
List of References
Al-Masree, H.K., 2015. Extracting Entity Relationship Diagram (ERD) from relational
pp.15-26.
Harrington, J.L., 2016. Relational database design and implementation. Morgan Kaufmann.
Riggs, R., Goldman, D., Remmel, H.M.T., Sandys, S. and Wolfe, J., LOCUS LP, 2019.