Download presentation
Presentation is loading. Please wait.
Published byLeslie Edwards Modified over 9 years ago
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
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
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.
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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.