Database design.

Authors Avatar

Advanced VCE ICT


Contents

Introduction        

Explanation of databases and why they would be of use to this system        

What is a database?        

Data and information        

Databases on computer        

Relational Databases        

How a database will aid this system        

Visit To The Video Store        

Aims        

Explanation of the entities and attributes        

Entities        

Attributes        

Logical data models        

Entity Relationship-diagram        

Explanation of normalisation        

Task 4        

User Documentation        

Step one        

Step three        

Deleting a record        

Adding a record        

Amending a record        

How to use a form        

Technical documentation        

Creating a lookup box        

Creating the forms        

Your form:        

Creating A Report        

Creating a macro        

Creating the main menu        

Data Dictionary        

Output from queries and reports        

Database Structure        

Acceptable data        

Task 5        

Testing of the Database        

Time Management        


Introduction

Every Weekend I rent a Video or DVD from my local videostore in Dungannon, and when I ask about new releases the employee behind the desk sits rummaging through lots and lots of file paper. I can see where they have taken down details of the person renting the filming in one column and in another the film number.  I think they would be better off with a computer, so I put that idea to them and they said, “how would a computer help us?” so I would like to give them my answer by designing a database for them that not only is organised but very secure.    

Explanation of databases and why they would be of use to this system

What is a database?

 A database is a collection of information put together in an organised way so that it is easy to retrieve. The first databases systems built upon the SQL standard started to appear at the beginning of the 1980's from Oracle with Oracle Version 2, and later SQL/DS from IBM, as well as a host of other systems from other companies.

The definition of a database is a systematically arranged collection of computer data,

Uctured so that it can be retrieved or manipulated.  

Databases have been a staple of business computing from the very beginning of the digital era. In fact, the relational database was born in 1970 when E.F. Codd, a researcher at IBM, wrote a paper outlining the process. Since then, relational databases have grown in popularity to become the standard.

Data and information

Data is information for example if a student gets a mark in test this is data, but in until you get the total it was out of, the mark stays as data.  When we are giving the total mark then and only then is it information.  It has been processed into information and is of use.  This is the difference between Data and Information:  

Data is useless and has no meaning.

Information has meaning and can be used.

Databases on computer

Databases are put on computers for a number of reasons

  1. It is easier to search for a record.

  1. There is no unnecessary duplication.

  1. You can change delete or print from the database.

  1. When you print a report it is tidy and easy to understand.

A report is any output, which is produced from the data held electronically in the computer system. Figure 1 will help you understand this process;

Relational Databases

A relational database stores all its data inside tables, and nothing more. All operations on data are done on the tables themselves or produces another tables as the result. The user and application program interface to a relational database is the structured query language.  SQL statements are used both for interactive queries for information from a relational database and for gathering data for reports.

In addition to being relatively easy to create and access, a relational database has the important advantage of being easy to extend. After the original database creation, a new data category can be added without requiring that all existing applications be modified.

Employee        Employee                Address        Telephone

Number        Name                        Number

100001        Freely IP        23,         Everglade Terrace        725181

100002        Grew TG        24,         Everglade Terrace        725981

100003        Strap AJ        8,         Bum Town        727389

Each of the rows in this table is called a record, there is record for each employee, and the items in the columns are called fields.  So we are able to say without any reservation that the above table is a record-structured relational database

How a database will aid this system

The way the shop keeps records now is really untidy and outdated.  With file pages lying about, it is very hard to find out where the videos that have been rented out and who they are rented by and their phone number.  I think a table will give the advantages and disadvantages:

Join now!

Visit To The Video Store

I went to the video store and gave them a questionnaire to answer.  The questionnaire is in Appendix one.  From the questionnaire I found out that the owner is only there on a weekly basis.  The employee had a computer to use before but it was stolen in a burglary.  So from this I was able to find that the employee has got computer experience.  The name of the business is called Cinema World.  They keep records on file paper since the burglary.  They find this system untidy and want the ...

This is a preview of the whole essay