Академический Документы
Профессиональный Документы
Культура Документы
January 6, 2009 1
Database Basics and Reports Using Microsoft Access
January 6, 2009 2
Database Basics and Reports Using Microsoft Access
January 6, 2009 3
Database Basics and Reports Using Microsoft Access
January 6, 2009 4
Database Basics and Reports Using Microsoft Access
January 6, 2009 5
Database Basics and Reports Using Microsoft Access
January 6, 2009 6
Database Basics and Reports Using Microsoft Access
Database File: This is your main file that encompasses the entire
database and that is saved to your hard-drive or floppy disk.
Example) StudentDatabase.mdb
Table: A table is a collection of data about a specific topic. There can
be multiple tables in a database.
Example #1) Students
Example #2) Teachers
Field: Fields are the different categories within a Table. Tables
usually contain multiple fields.
Example #1) Student LastName
Example #2) Student FirstName
Datatypes: Datatypes are the properties of each field. A field only
has 1 datatype.
FieldName) Student LastName
Datatype) Text
January 6, 2009 7
Database Basics and Reports Using Microsoft Access
Tables
Tables comprise the fundamental building blocks of any database. If you're familiar
with Excel spreadsheets, you'll find database tables extremely similar.
A table is a collection of data about a specific topic, such as students or contacts.
Using a separate table for each topic means that you store that data only once,
which makes your database more efficient, and reduces data-entry errors.
In a well design table you will always find a primary key or Unique Identifier.
•A primary key does not allow Null values and must always have a unique value.
•A primary key is used to relate a table to foreign keys in other tables.
Primary Key Field
Record
January 6, 2009 8
Database Basics and Reports Using Microsoft Access
January 6, 2009 9
Database Basics and Reports Using Microsoft Access
January 6, 2009 11
Database Basics and Reports Using Microsoft Access
January 6, 2009 12
Database Basics and Reports Using Microsoft Access
January 6, 2009 13
Database Basics and Reports Using Microsoft Access
Relationships
January 6, 2009 14
Database Basics and Reports Using Microsoft Access
January 6, 2009 15
Database Basics and Reports Using Microsoft Access
Appendix:
January 6, 2009 16
Database Basics and Reports Using Microsoft Access