Database Development Tutorial
Database Development Tutorial
20 Comments
Share on LinkedIn
Share on Facebook
Share on Twitter
Please check out my related article "How did the modern relational
database come to be?" which is currently trending in Big Data and
follow me for daily articles on technology, digital marketing,
psychology and pharmaceuticals.
Figure 1: A
basic example of a requirements document
The requirements document can then be analysed and turned into a
basic data set (as shown in Figure 2) which can be converted into a
conceptual model. The end result of the conceptual design phase is
a conceptual data model (Figure 3), which provides little information
of how the database system will eventually be implemented. The
conceptual data model is simply a high-level overview of the
database system.
Figure 3: A
Normalized Entity-Relationship model (ERD) in Crows Foot Notation
is an Example of a Conceptual Data Model and provides no
information of how the database system will eventually be
implemented
In the implementation design phase, the conceptual data model is
translated into a logical representation of the database system.
The logical data model conveys the logical functioning and
2.
3.
Explanation:
1.
2.
3.
The table attributes and Data Integrity Rules are defined within
the two parentheses. How the table relates to other tables is also
defined within the two parentheses (e.g. by defining FOREIGN KEYS)
4.
The not null statement means that if you try to populate the
table with values, but leave the value of that attribute empty, you
will get an error.
5.
6.
7.
8.
9.
Relationships
When initially explaining the relational model, E.F. Codd proposed
that users should be abstracted from the internal representation of
the data, such that if the internal representation of that data were to
change (e.g. because of system growth), the way that the user
perceives the data should remain unchanged. This is why he
proposed that users should only interact with a collection of timevarying relationships i.e. a user should only know the name of the
relationship together with its domain (e.g. department is the
domain of employees, and the employees are owned by the
department) rather than the relation (table) itself.
In using the terms relation and table as synonyms, Codd must
have implied that a table should be viewed in terms of its
relationship with other tables. Relationships are what bind the
relations/tables in a database together, so proper understanding is
needed.