| Elmasri/Navathe (3rd ed.) | Kroenke Book (7th ed.) | McFadden (5th ed.) |
|---|---|---|
| Chapters 1 and 2 | Chapters 1 and 2 | Chapter 1 |
| Name | Address | City | State | Acct_Number | Balance |
|---|---|---|---|---|---|
| Mr. Smith | 123 Lexington | Smithville | KY | 9987 | 4000 |
| Mr. Smith | 123 Lexington | Smithville | KY | 9980 | 2000 |
| Mrs. Jones | 12 Davis Ave. | Smithville | KY | 8811 | 1000 |
| Mr. Axe | 443 Grinder Ln. | Broadville | GA | 4422 | 6000 |
| Mr. Axe | 443 Grinder Ln. | Broadville | GA | 4433 | 9000 |
| Mr. & Mrs. Builder | 661 Parker Rd. | Streetville | GA | 3322 | 500 |
| Mr. & Mrs. Builder | 661 Parker Rd. | Streetville | GA | 1122 | 800 |
e.g., contrast a canned accouting software package like Quicken or QuickBooks with DBMS like MS Access.
| Name | Address | City | State |
|---|---|---|---|
| Mr. Smith | 123 Lexington | Smithville | KY |
| Mrs. Jones | 12 Davis Ave. | Smithville | KY |
| Mr. Axe | 443 Grinder Ln. | Broadville | GA |
| Mr. & Mrs. Builder | 661 Parker Rd. | Streetville | GA |
Accounts Table
| Name | Acct_Number | Balance |
|---|---|---|
| Mr. Smith | 9987 | 4000 |
| Mr. Smith | 9980 | 2000 |
| Mrs. Jones | 8811 | 1000 |
| Mr. Axe | 4422 | 6000 |
| Mr. Axe | 4433 | 9000 |
| Mr. & Mrs. Builder | 3322 | 500 |
| Mr. & Mrs. Builder | 1122 | 800 |
Have a look at the Database Documentor feature of
MS Access (under the tools menu, choose Analyze and
then Documentor).
This tool queries the system tables to give all kinds of
Metadata for tables, etc. in an MS Access database.
The following is a very brief outline describing the database development process.
ACCOUNTS
Customer_Id, Account_Number, Account_Type,
Date_Opened, Balance
Note that we use an artificial identifier (a
number we make up) for the customer called
Customer_Id. Given a Customer_Id, we can uniquely
identify the remaining information. We call Customer_Id a
Key for the CUSTOMERS table.
Notice that when naming columns in the tables we always use an underscore character and do not use any other punctuation. even though Access allows you to use spaces, etc. it is not a good idea.
CUSTOMERS
| Column | Domain | |
|---|---|---|
| | Data Type | Size |
| Customer_Id (Key) | Integer | 20 |
| Name | Character | 30 |
| Street | Character | 30 |
| City | Character | 25 |
| State | Character | 2 |
| Zip | Character | 5 |
ACCOUNTS
| Column | Domain | |
|---|---|---|
| | Data Type | Size |
| Customer_Id (FK) | Integer | 20 |
| Account_Number (Key) | Integer | 15 |
| Account_Type | Character | 2 |
| Date_Opened | Date | |
| Balance | Real | 12,2 |
| Customer_Id | Name | Address | City | State | Zip |
|---|---|---|---|---|---|
| 1001 | Mr. Smith | 123 Lexington | Smithville | KY | 91232 |
| 1002 | Mrs. Jones | 12 Davis Ave. | Smithville | KY | 91232 |
| 1003 | Mr. Axe | 443 Grinder Ln. | Broadville | GA | 81992 |
| 1004 | Mr. & Mrs. Builder | 661 Parker Rd. | Streetville | GA | 81990 |
Accounts Table
| Customer_Id | Account_Number | Account_Type | Date_Opened | Balance |
|---|---|---|---|---|
| 1001 | 9987 | Checking | 10/12/89 | 4000.00 |
| 1001 | 9980 | Savings | 10/12/89 | 2000.00 |
| 1002 | 8811 | Savings | 01/05/92 | 1000.00 |
| 1003 | 4422 | Checking | 12/01/94 | 6000.00 |
| 1003 | 4433 | Savings | 12/01/94 | 9000.00 |
| 1004 | 3322 | Savings | 08/22/94 | 500.00 |
| 1004 | 1122 | Checking | 11/13/88 | 800.00 |
How do we enforce business rules ?
Use a Web Browser such as Netscape Navigator or MS Internet Explorer to view web pages.
Each web page has a unique address called a
URL: Uniform Resource Locator. For
example:
http://www.nintendo.com/hallway/index.html
http the protocol
www.nintendo.com the host name
/hallway/index.html the name of the directory and
file name
Other URL examples:
| Elmasri/Navathe | Kroenke | McFadden |
|---|---|---|
| Chapters 1, 2 and 16. Read up on DBMS System Utilities and Classification of DBMS Read Elmasri/Navathe chapter 16 on the Database Design Process | Chapters 1, 2 and 10 | Chapters 1 and 10 (pg. 381-400) |
| [Last Week] | [Home] | [Next Week] |