7
DATABASES In order to find the right web sites for you, Search engines need a vast computerized database which they search using your entered keywords. School use information systems to do registers and keep records on students. These contain a database with records for every student in the school. The database records student's attendance at school as well as information which may be needed by the school e.g. medical records or test scores. A database is a collection of data or information which is held together in an organized or logical way?

Database intro

Embed Size (px)

Citation preview

Page 1: Database intro

DATABASES

In order to find the right web sites for you, Search engines need a vast computerized database which they search using your entered keywords.

School use information systems to do registers and keep records on students. These contain a database with records for every student in the school. The database records student's attendance at school as well as information which may be needed by the school e.g. medical records or test scores.

A database is a collection of data or information which is held together in an organized or logical way?

Page 2: Database intro

Databases are used by organizations such as governments, hospitals, utility companies and clubs as these databases allow for the storing, retrieving, editing and manipulating of large numbers of records.

DATABASES

Libraries store details of all their books, in a database. When you want to know if a book is in stock, you can not only look it up, but you can also check when it is due to be returned. The database also records details of all the borrowers, what books they currently have borrowed and when they are due back

Page 3: Database intro

Tables

The table allows you to see all of the records stored in the database. Tables can store many records, from a few dozen for a small database up to millions for a large company databaseEach table contains a lot of records.

Page 4: Database intro

DEFINITION: A record is all of the data or information about one person or one thing. In the table below, all of the information about each cartoon character is stored in a 'row' or 'record'.

A record is made up of lots of individual pieces of information. Look at Wonder Woman's record: it stores her first name, last name, address, city and age.

Records

Page 5: Database intro

DEFINITION: a 'field' is one piece of data or information about a person or thing.

The data type describes what data can be stored in the field e.g. Text, numbers, dates or Boolean(which means yes or no answers) .When you set up a database, you need to think about the 'datatype' for each field.

Fields

Page 6: Database intro

Every record needs a identifier called the primaryor key Field this is the field that contains a value which is unique to that record. For example we cannot use a name a key field for a student as there may be more that one student with the same name. So we use a Student ID or reference number.

Key Field

Page 7: Database intro

DEFINITION: CODING is the conversion of information into shorter values for the purpose of data storage, management, and analysis. E.G. the sex of the respondent may be coded "f” for a female and "m" for a male. This makes the information easier to enter, it reduces the chances of information being entered incorrectly and save time and space when enter information into a database.

CODING