7 Data Modeling and Analysis
7 Data Modeling and Analysis
PERANCANGAN SISTEM
Compound attribute –
terdiri gabungan atribut.
Disebut atribut gabungan (composit,
Concatenated atau struktur data
Data Modeling Concepts: Data Type
Data type – sifat/ciri dari atribut yang menentukan tipe
data yang disimpan dalam database
Representative Logical Data Types for Attributes
Logical Data Logical Business Meaning
Type
NUMBER Any number, real or integer.
TEXT A string of characters, inclusive of numbers. When numbers are included in a TEXT
attribute, it means that we do not expect to perform arithmetic or comparisons with those
numbers.
MEMO Same as TEXT but of an indeterminate size. Some business systems require the ability
to attach potentially lengthy notes to a give database record.
DATE Any date in any format.
TIME Any time in any format.
YES/NO An attribute that can assume only one of these two values.
VALUE SET A finite set of values. In most cases, a coding scheme would be established (e.g.,
FR=Freshman, SO=Sophomore, JR=Junior, SR=Senior).
IMAGE Any picture or image.
Data Modeling Concepts: Domains
bidirectional
Student Is being studied by is enrolled in
Curriculum
Cardinality Notations
Relationship
Data Modeling Concepts: Degree
Associative entity –
an entity that inherits
its primary key from
more than one other Associative
entity (called Entity
parents).
Primary Key
Foreign Key
Duplicated from
KodePA Nama Dosen primary key of
Smith Andrea Fernandez Major entity
Jones Daniel Abidjan (not unique)