Presentation is loading. Please wait.

Presentation is loading. Please wait.

Part 1.  To answer the question “what is a database?”  To understand the basic components of a database and start to plan/create our own.

Similar presentations


Presentation on theme: "Part 1.  To answer the question “what is a database?”  To understand the basic components of a database and start to plan/create our own."— Presentation transcript:

1 Part 1

2  To answer the question “what is a database?”  To understand the basic components of a database and start to plan/create our own.

3  Database  Table  Field  Record  Primary key

4

5

6  Yellow pages  Mobile phones  Microsoft Access

7  Patient information in a hospital  Car registration numbers and owners  Names and phone numbers of friends  Student information in a school  Criminal Records What kind of information could we store in a database?

8 Each table within a database will have a collection of fields and records. e.g. Customer details is a table Tables

9 Each piece of information in a record is called a field. e.g. Name: Joe Bloggs is a field. Fields

10 Each set of information about a person / object is called a record. e.g. Name: Joe Bloggs Address: 33 Wood Lane, Porth Phone number: 01443 123456 is a record which has 3 fields. Records

11 Primary key Every table in a database needs a primary key; a primary key uniquely identifies each record in the table. e.g. Applies an ID to a record e.g. St1234

12 Table Record Field Primary key

13  Which is better and why?  Data storage capacity  Faster data retrieval, especially when searching  Easier to manage security  Amending data is much easier

14

15 When information is typed into a database it is stored as a certain format. Text: Any text Number: Only numbers Yes/no: anything with only two possible answers. E.g. yes/no, male/female. Lookup wizard: a drop down menu with multiple choice answers.

16  Your new band has a set up an online fan club.  100 requests for information on the fan club that have been emailed to you.  10 people have sent £10 for information and autographs after talking to the secretary.

17

18 Design view Enables you to do the work you need to create a table. i.e. field names and data types. Datasheet The Datasheet View shows the records in a table. Having designed a table you can then go into datasheet and display/add records.


Download ppt "Part 1.  To answer the question “what is a database?”  To understand the basic components of a database and start to plan/create our own."

Similar presentations


Ads by Google