© boardworks ltd 2010 1 of 11 database structure
TRANSCRIPT
© Boardworks Ltd 20101 of 11
Database Structure
© Boardworks Ltd 20102 of 11
Teacher’s notes included in the Notes Page
Flash activity. These activities are not editable. Web addresses
Icons key: For more detailed instructions, see the Getting Started presentation
Functional Skills check
Student task accompanies this slide Printable activity
This lesson will cover:
The basic structure of a database.
Setting up a database using field names.
Understanding different data types.
© Boardworks Ltd 20103 of 11
Why do we need structure?
If data is in a structured format it can be retrieved easily.
Why else is structure important?
© Boardworks Ltd 20104 of 11
Database structure
A database is made up of:
Tables – Tables are composed of all the records in a database.
Fields – Fields are normally the columns. Each record is made up of many fields (like name, address etc.) to enable searches to be performed more easily.
Records – Records are usually the rows in a database, they are divided into fields for ease of use.
© Boardworks Ltd 20105 of 11
Database structure
If we take an electronic address book as an example:
Your address book is the table.
Every row contains one record.
Fields are the sections intowhich the data is divided.
© Boardworks Ltd 20106 of 11
Label the database
© Boardworks Ltd 20107 of 11
Database software
Many software packages exist to create databases. The most common software for basic databases is Microsoft Access, but other software will have the same features as this.
Computerized flat file databases are the equivalent of a writtentable or ledger, but the data is more secureand a lot tidier.
Computerized databases make it much easier to find recordsand can quickly produce reports and labels.
© Boardworks Ltd 20108 of 11
Beginning a database
When creating a database, the first thing you will need to do is enter in your field names.
You can then add in thefields that you require for your database. These will appear as the column headings along the top row of your database.
You do this by choosing:Create table inDesign view
© Boardworks Ltd 20109 of 11
Data types
When creating your fields, you also need to specify the data types that will go in these fields.
The data types which you are most likely to use are:
Text – For inputting text.Number – For numbers, decimals and percentages.Date/Time – For dates and times.Currency – For financial sums and amounts.AutoNumber – Automatically adds in a sequential number.Yes/No – For selecting yes/no or true/false entries.
© Boardworks Ltd 201010 of 11
Which data types?
© Boardworks Ltd 201011 of 11
True or false