Go back to course outline

Data Independence
Six Steps of Database Design:

Data Model:  Represent data in certain way.  How do you model data in computer? Schema: a description of a particular collection of data, using a given data model.
e.g. Every relation has a schema, which describes the columns, or fields.
Conceptual Database Design:
        Purpose:  Capture reality
                         Specify data in the way easy to understand
                         Get the structure

Conceptual Data Model:  (more precise than natural language)
    e.g.   E-R model.

E-R Model (Entity-Relationship Model)

Entity -  it has various properties and its existence is independent of the other concepts.
        - Must have name
        - can be described / specified by attributes.  Each attribute has domain.
        e.g.   each individual student
                each individual class
                each individual instructor
                each agreement

        The instructor possesses various properties, surname, age, town of birth.....

Entity Set:  a set of entities.     (e.g.  student is an entity; a group of students is an entity set.)

E-R Diagram