Presentation is loading. Please wait.

Presentation is loading. Please wait.

Databases – Lesson 3 Key Stage 3 ICT.

Similar presentations


Presentation on theme: "Databases – Lesson 3 Key Stage 3 ICT."— Presentation transcript:

1 Databases – Lesson 3 Key Stage 3 ICT

2 Starter Starter -Try and fling the teacher. What are Open Questions?
Yes/ no ? Limited answers ? Right / wrong only? What is a closed question? Give your opinion? Multiple answers are ok? No right or wrong answer? Discuss this with your neighbour ... Then try fling the teACHER?!

3 Objectives Outcomes Know about and be able to use data types correctly
Know about and be able use validation rules Know about sorting records in queries. Outcomes All: Will have recorded the error messages for validation errors Most: Will have customised validation error messages Some: Will have created queries that sort the data.

4 Here is your mission… You need to find out about students favourite:
Fruit Drink Number You must design a questionnaire, using a range of open / closed questions. Vowel Colour Subject Secret Word

5 Task 1 – Part 1 And ask them for a secret security word
Log into your and create an to send to 7 classmates. The should ask them the following questions. What is your favourite; Fruit Drink Number Vowel Colour Subject And ask them for a secret security word You MUST use a range of OPEN and CLOSED questions. For closed questions, use square brackets for responses. E.g. [ ] Cheese [ ] Bacon [ ] Eggs For open questions, simply leave a gap. E.g. Favourite Sweet:

6 Task 1 – Part 2 Enter the usernames of five people in the class, in the TO box, separated by a comma. (e.g. 13SmithR, 13JonesP, 13TothK) Give your a suitable subject. Send your . Tell the recipients, they have new !

7 Task 1 – Part 3 Reply to any messages you get by completing their questionnaires and sending it back to them. CHANGE THE SUBJECT TO: QUESTIONNAIRE COMPLETED.

8 Task 1 – Part 4 Open the Favorites Database FROM
Download the database file from ‘Rother-net’ Remember to save it in your documents Enter one of questionnaire results you get back PLUS one record for yourself.

9 Data Types - Containers
In your kitchen would you store flour in a bowl? How about tomato ketchup in a bag? How about pasta in a egg basket? Each type of food has its own container…. Exactly the same for Databases Demo this on the favourites database.

10 Why do we use validation. Task 3A
In your booklets, write 2 reasons for using validation. Queries need exact matches Get the students to list all the terms of boys – Then explain how difficult it would be to write a query to match. Making sure we get sensible data – if we want your age then only allow numbers.

11 Task 1 – Part 5 Open the design view of the table by right clicking on the table name and selecting Design View.

12 Data Types - Containers
We store numbers in Open questions in Such as Name

13 Data Types - Containers
Closed questions in Such a favourite Vowel Enter the vowels and click Finish Choose “I will type values in.”

14 Add Validation and add your data – TASK 3B
As you are adding your data from your surveys…. Try to store a numbers in the name field? Try to store some text in the favourite number Try and enter a consonant in the favourite vowel Print screen the 3 error messages into your booklet.

15 Create a Query 1 2 3 4 Double click the fields you want in your query
5 Add your criteria, and Click the cross to save your query – don’t forget to name it.

16 Add sort Design a “All students” query. Your can sort the order of records in your queries. Select ascending and see the effect. The records should be sorted from A to Z. Print screen the results of your query.

17 Write Queries to select . – Task 3C. .
If you want to – look back at the queries you did in the last lesson in your booklet. Select all records in your database. Hint. Do not add any criteria. Sorted Alphabetically from A to Z. Name it “All students” Select students that have the same favourite subject as you, sorted by subject from Z down to A. Name it “Favourite subject”. Hint use a wild character “*”. Use a parameter query to select Favourite Colours. Name it “Favourite Colour” and sort the records by favourite vowel.

18 Plenary (RANDOM) Discuss with your neighbour –
Can you remember three key words? Can your partner tell you what they mean? Lets see what you know... Try the plenary quiz in your booklets. There is also a plenary game on ‘rother-net’


Download ppt "Databases – Lesson 3 Key Stage 3 ICT."

Similar presentations


Ads by Google