CH 3 Final Flashcards
Different ways to store data:
falt files and databases
flat files:
data is stored in one giant table. typically different functions have separate flat files that do not link to each other.
ex. excel
databases
data is shared between functions.
three types of databases:
hierarchical, networks and relational
Three anomalies:
insert, delete, update
data modeling:
process of defining a database so that it faithfully represents all aspects of the organization. the end result is a third normal form (3NF) database
databases are comprised of the following:
entities, attributes, records
entities
anything about which the organization wishes to store data.
i.e. employees, sales, payroll
entity info is stored in a table.
attributes
aka fields.
what you want to know about the entity.
columns in a table.
birthday of employee or SSN
records:
the individual instances in a table. stored in rows.
record = row
record keys:
primary keys and foreign keys
primary key:
i.e. customer #, invoice #, employee #, CWID
Primary key must be unique
foreign keys:
used to link tables.
primary keys from other tables.
REA meaning:
resource, event, agent.
resources:
things of value an organization acquires and uses (e.g. cash, inventory, equipment)