Widgets
Tables
Having covered an overview of relational databases
in the last topic, this topic explores tables in greater
depth. As the repository of the data, tables are a core component and implementing them correctly is a critical task. This
topic looks at individual tables before the next topic examines linking tables together.
Develop your skills - Tables


SET TEXT
Chapter 3
pp. 367-397
or
Chapter 3
pp. 365-395
The following reading discusses some techniques used
when setting up tables. When you have finished the reading you should
understand:
- the unique property of a primary key
- the field properties including
- data types,
- field description,
- field sizes,
- format,
- input masks,
- default values,
- required and
- allow zero length

TASK 1:
Complete the Develop Your Skills 5, p. 395.
If you are still not feeling very confident, complete Develop Your
Skills 4, p. 393.
Skills 4, p. 393.
TASK 2:
Consider the address database from the last topic with one table - Contact.
Each contact or person would be one record. Fields would be such things
as first name, surname, address (could be broken up into street, suburb,
postcode, city), work number, home number, email, mobile, etc.
- What would be a possible primary key this table?
- Can you see any problems with your choice?
Wildcards (p.392)
The three wildcards you have learnt, namely *, ? and # are used by more programs than Access. Most databses (e.g. library databases) use them as well as quite a few other programs (e.g. Linux/Unix operating systems).
Lookup Tables
Use these where ever possible - as discussed below these are useful in helping to ensure data accuracy.
What have I learned?
After completing these activities you should:- understand the unique property of the primary key;
- recognise the importance of ensuring data accuracy;
- be able to make informed decisions in using field properties to help ensure data accuracy and reliability.