Sections A -- I, revised 5/8/10 at 12:00pm,
Sections J -- L, revised 5/10/10 at 4:00pm
Note: a data entry window that appears temporarily is called a dialog. The data must entered in the dialog and the dialog must be closed before returning to work in the main window.
More specifically, this means
Tables can share common fields that enable them to be related or linked
together.
Each table may contain a primary key, which consists of
one or more fields in a row that uniquely identify the row.
The tables are highly structured. They must conform to
The Three Database Rules governing
the data in tables.
The computer program used to manage and query a database is known as a database management system (DBMS).
A. Introduction |
B. Creating |
C. Opening |
D. Searching |
E. Filtering |
F. Sorting |
G. Primary Keys |
H. Importing |
I. Exporting |
J. Normalization |
K. Relationships |
L. Queries |
M. Reports |
StudentData | ||||
---|---|---|---|---|
Name | Year | Major | FullTime | |
Julie | 3 | Sociology | Yes | julieh@supermail.com |
David | 4 | Art | Yes | davidr@supermail.com |
Carolyn | 1 | Accounting | Yes | carolynw@supermail.com |
Bill | 3 | Biology | No | billk@supermail.com |
Arthur | 2 | Mathematics | Yes | arthurj@supermail.com |
Nancy | 4 | Sociology | No | nancya@supermail.com |
Here are some filter criteria examples: <1, <2, ="M", <<>>"M", >=#1/1/2002# (Dates are delimited by #.)
When multiple filter criteria are supplied, the filtered records must match all of the criteria. This is equivalent to a logical and operation.
StudentData | ||||
---|---|---|---|---|
Name | Year | Major | FullTime | |
Carolyn | 1 | Accounting | Yes | carolynw@supermail.com |
Arthur | 2 | Mathematics | Yes | arthurj@supermail.com |
Bill | 3 | Biology | No | billk@supermail.com |
Julie | 3 | Sociology | Yes | julieh@supermail.com |
David | 4 | Art | Yes | davidr@supermail.com |
Julie | 4 | Sociology | No | nancya@supermail.com |
Rule 2: No field in a record can have more than one value. A field with more than one value is called a repeating group, and affects data storage, integrity, and retrieval. Removing a repeating group is sometimes called flattening a table.
Rule 3: There should be no data anomalies in the table. No column should depend only on another column that is not the primary key.
StudentData | |||
---|---|---|---|
StudentID | Name | Year | Major |
032901 | Julie | 3 | Sociology |
090878 | David | 4 | Art |
065618 | Arthur | 2 | Mathematics |
073770 | Carolyn | 1 | Accounting |
010977 | Bill | 3 | Sociology |
065618 | Arthur | 2 | Mathematics |
StudentData | |||||
---|---|---|---|---|---|
StudentID | Name | Year | Major | FullTime | Course |
32901 | Julie | 3 | Sociology | Yes | ENG202 SOC210 ISP121 |
90878 | David | 4 | Art | Yes | MAT111 |
73770 | Carolyn | 1 | Accounting | Yes | BUS215 ISP121 IT130 REL300 |
10977 | Bill | 3 | Biology | No | BIO200 CSC211 ENG202 |
65618 | Arthur | 2 | Mathematics | Yes | MAT215 CSC212 |
44541 | Nancy | 4 | Sociology | Yes | SOC301 |
|
|
there would be a lot of repetition of data.
Advisors | |||
---|---|---|---|
StudentID | StudentName | AdvisorID | AdvisorName |
32901 | Julie | 052832 | Patel |
90878 | David | 094837 | Chen |
73770 | Carolyn | 094837 | Chen |
10977 | Bill | 044849 | Morgan |
65618 | Arthur | 052832 | Patel |
44541 | Nancy | 094837 | Chen |
|   |
|
|
|
Join of Doctors and Patients | ||||
---|---|---|---|---|
Doctors.DoctorID | DoctorName | PatientID | Name | Patients.DoctorID |
4444 | Jones | 11111 | Sally | 4444 |
4444 | Jones | 33333 | Winston | 4444 |
6666 | Smith | 55555 | Chloe | 6666 |
4444 | Jones | 77777 | Jason | 4444 |
6666 | Smith | 99999 | Mary | 6666 |
Drop Down Menu Caption | Information to Select |
---|---|
Left Table Name | Name of Table Containing Foreign Key |
Left Column Name | Name of Foreign Key |
Right Table Name | Name of Table Containing Associated Primary Key |
Right Column Name | Name of Primary Key |
The symbol 1 marks the foreign key; the symbol ∞ marks the associated primary key.