Databases - A Quick Guide

A database allows you to collate and analyse huge amounts of data quickly. It is very useful for storing the results of surveys and questionnaires. In this activity you will use sorting, filtering and graphing to analyse the data you have collected. This helpsheet covers Access 97, but most databases are very similar.

How does a database work?

Data is stored in categories called fields. Each row of fields is called a record. You will be setting up a database where each pupil has their own record with their height, sex, eye colour etc as separate fields. All the records in a database are stored in a table.

Sorts can be used to order the information, for example you could put them all in order of height. Filters can be used to show certain records only, for example only showing boys. Queries can be set up to extract data from the main database table.

Making a database.

You then have a table with three headings: "field name", "data type" and "description". The description column does not need to be filled in.

The table now appears in the Database dialog box.

Sorting

You can sort columns of names alphabetically and a column of numbers by size. "Sort ascending" puts the smallest number or the letter nearest the start of the alphabet at the top. "Sort descending" starts with the largest number or the letter nearest the end of the alphabet.

Filtering

A filter draws out all the entries in a table with the same value or range of values. For example, you can choose to only display data for males, or people with size seven shoes.

Making Graphs

Access 97 cannot easily produce scattergrams but it is easy to transfer data into Excel for analysis. Click on the column headings to highlight them. From the Tools menu select Office links and then Analyse with MS Excel. From within Excel it is an easy matter to produce scattergrams; for example of height against foot size. Refer to the reference sheet "Using a spreadsheet" for help with graphing.

Tip: If you only want to analyse certain data; e.g. just looking at boys, then apply the filter before you send it to Excel.

 

 

Home