Date post: | 31-Dec-2015 |
Category: |
Documents |
Upload: | jade-hopkins |
View: | 219 times |
Download: | 0 times |
Starter
Designing a table
Learning Objectives:• Can you create a table of information?
Steps to Success• Can create the fields in a table• Can sort information in a database• Understands and can apply the primary key
Keywords: • Datasheet View, Design View, Primary key
Definition of Keywords
Design view: Allows input and
editing of fields
Datasheet View: Allows input of
records
(information) into the database
Sort: Put into order (sequence):
numerical or
alphabetically (ascending or
descending)
Primary key: identifies the field
that will hold
unique information
Design View
Primary key
Datasheet View
A file of records
Datasheet ViewDatatype allows you decide how what kind of data will go into the fields
DATATY PE
DESCRIPTION
TEXT
Letters, numbers, blank spaces, symbols also known as alphanumeric e.g. AB41 3TG or Annabel Strachan.
NUMBER
Numbers only (no letters) e.g. 1.23, 100, 1.0765, £2 Important: does not allow to store a number starting with 0
DATE/TIME
e.g. date 19 June 1994 / 19-Jun-94 / 19/06/1994 e.g. time 17:34:23 / 05:34pm / 17:34
CURRENCY
Money data. (such as £ or $) e.g. £5.20
YES/NO
Used when there are two values, Y/N or True/False, as a tick box
AUTONUMBER
This is a unique value generated by the software for each record.
OLE Object linking & embedding. To put in objects support by windows. Such as a picture
Lookup Wizard Allows you to create fields. The fields appear with a drop-down arrow on it in tables and forms. The Look up creates relationship between tables used.
INFORMATION:
• Uncle & Auntie
• Yes/No
• 10 Tilfine Road
• Mr & Mrs Brown
• 3
• 26.04.10
• Groom
FIELD:
• Name
• Address
• Bride/Groom side
• Relation/Friend
• RSVP
• Invite sent
Designing a wedding guests database
Match the information to the field
Primary Key
The primary key identifies the field that will hold unique data. This is a way of preventing duplication of records
What does unique mean?Being the only one of its kind; unlike anything else
What could be a unique information?• Date of birth, • passport number,• membership or ID number, or a car index plate! • National Insurance number
Taking a screen print
Do the following to take a screen print (copy of the
screen):
1. Press the button on your key board top right that says Print Screen button
2. Open a word document (or any other software)
3. Use the CTR L and V keys to paste your screen
4. Annotate/Label your screen - using text box and arrows
Quiz
1. Logon to studentlab.weebly.com2. Go to the forum and select sign in weebly Write membership details in your book
3. Go to the practice- then choose games
Homework
• Read the scenario page
• Create a table for the wedding guest
• Design in database, take screen print
• Send in homework via the hand in page
of studentlab.weebly.com
Plenary
1. What is a record?
2. What is a primary key?
3. What is the purpose of the table?
4. How do you create a table?