-
hierarchy of data in database systems
bits - bytes - fields - records - tables (files) - database
-
a digit, or bit (in a binary system) can only have
2
-
bits are combined together into 8-bit groups called
bytes
-
-
a group of bytes or characters is called
field
-
in a database table, fields are usually organized into
columns
-
a group of fields makes up a
record
-
in a database table, records are usually organized into
rows
-
a group of records makes up a
table
-
a group of records makes up a
database
-
field formats (6)
- -numeric
- -currency
- -tax
- -date/time
- -autoNumber
- -Yes/No
-
numeric
only stores numbers and it displays numbers the way they're entered
-
currency
can store only numbers, but it displays and prints a $, compare
-
text
can share any keyboard character
-
date/time
display date and/or time in various ways
-
AutoNumber
automatically numbers each record as it is entered, starting with #1
-
Yes/No
field can only contain one of two values, such as yes/no, true/false, off/on- there is a checkbox
-
primary key
every row in a table must be unique (different) from all other rows, or else it can't be retrieved easily when you search the database-- a column (or pair of rows) that makes each row different from all other rows
-
composite primary key
combination of two or more fields that together serve as primary key to uniquely identify records in the table
-
secondary keys
fields (other than primary key fields) that are used to identify groups of records- often used to sort records
-
sequence coding system
records are numbered sequentially (0001, 0002..ect)
-
block coding system
similar items are coded together using a range of items (chart of accounts)
-
group coding system
each digit in the items code indicates something about the item
-
Mnemonic coding system
digits used in the coding system help you understand and remember their meaning (ACCT, AMST)
-
entity relationship (ER) diagrams
ER diagrams are primarily used when designing a database
-
rectangles represent in ER diagrams
entities (objects and activities the company wants to keep track of)
-
R =
E =
A =
- resources (assets)
- events (activities)
- Agents (people/organizations)
|
|