16
KEYWORDS Do it now activity Activity: Answer these questions, referring to the spreadsheet on Slide 2. 1. How many people are called Neil? 2. How many people have medical needs? 3. Who is the oldest person? 4. How many people are vegetarians? 5. Who has medical needs and a special diet? 6. How many people were born in 1990? 7. If the people were sorted by their surname, who would be the first on the list? 8. How many people will be on the coach tour, not including the driver? 9. How many females are there? 10.Who was the first person to book the trip? (Hint: this relates to their booking number.)

Do it now activity

  • Upload
    chavi

  • View
    23

  • Download
    0

Embed Size (px)

DESCRIPTION

Do it now activity. Activity: Answer these questions, referring to the spreadsheet on Slide 2. How many people are called Neil? How many people have medical needs? Who is the oldest person? How many people are vegetarians? Who has medical needs and a special diet? - PowerPoint PPT Presentation

Citation preview

Page 1: Do it now activity

KEYWORDS

Do it now activityActivity: Answer these questions, referring to the spreadsheet on Slide 2.

1. How many people are called Neil?

2. How many people have medical needs?

3. Who is the oldest person?

4. How many people are vegetarians?

5. Who has medical needs and a special diet?

6. How many people were born in 1990?

7. If the people were sorted by their surname, who would be the first on the list?

8. How many people will be on the coach tour, not including the driver?

9. How many females are there?

10. Who was the first person to book the trip? (Hint: this relates to their booking number.)

Page 2: Do it now activity

Surname Forename Sex Date of birth Medical needs

Booking reference Special diet

Ying Ian M 02/12/1980 YES 45693 NONE

Jackson Neil M 05/06/1979 NO 15984 VEG

Black Julie F 24/07/1980 NO 36961 NONE

Hill Trevor M 26/03/1979 NO 14857 NONE

Clarke Matthew M 17/06/1982 NO 14850 NONE

Swells James M 24/01/1988 YES 14296 NONE

Waye Joanne F 17/02/1980 NO 14678 NONE

Iqbal Jo F 05/09/1991 NO 15798 NONE

Green Nichola F 07/08/1981 YES 14359 NONE

Blacken Daniel M 17/06/1983 NO 14357 NONE

Clarke Rebecca F 24/01/1981 YES 14527 NONE

Warrilow Lee M 17/08/1990 NO 15357 NONE

Sands Mark M 23/07/1984 NO 14943 NONE

Roberts Margaret F 07/07/1977 YES 14567 NONE

Light Shelia F 19/08/1976 YES 14221 VEG

Swind Helen F 04/08/1985 NO 14622 NONE

Frank Sean M 27/05/1991 NO 16897 NONE

Flynn Thomas M 05/05/1950 NO 16542 NONE

Hobs Neil M 28/01/1980 YES 14775 NONE

Blue Robert M 17/05/1989 NO 14666 VEG

Jenkins Lisa F 21/05/1990 NO 12351 NONE

Young Gavin M 03/04/1975 NO 14545 NONE

Drum Tom M 02/06/1974 NO 14747 NONE

When you are ready, left-click to go to the next slide.

Page 3: Do it now activity

KEYWORDS

Homework Finding the killer

Write a list of bullet points describing each step that you took to find the murderer. Make sure you use key terms correctly

Due:

Page 4: Do it now activity

Apply filters to find specific information

LEARNINGAIM

Page 5: Do it now activity

I can use a filter to find a murderer

LEARNINGOBJECTIVES

Page 6: Do it now activity

KEYWORDS

LEARNINGOBJECTIVES

ALL(Level 3)

use filters or can perform single criteria searches for information.

MOST(Level 4)

perform more complex searches for information e.g. using Boolean and relational operators.

SOME(Level 5)

query data on one table using a typical query language.

By the end of the lesson you will be able to

I can use a filter to find a murderer

Page 7: Do it now activity

KEYWORDS

LEARNINGOBJECTIVES

I can use a filter to find a murderer

FiltersDataQueries

DatabaseReportsInterrogate

Solving the crimeDetective Turner would like to thank you for creating the database for him. He has now asked one of his police officers to enter all the suspects' details into the database.

By the end of this tutorial you will be able to:

• Search the database using filters to find the murderer

• Create parameter queries to find specific information

Page 8: Do it now activity

KEYWORDS

LEARNINGOBJECTIVES

I can use a filter to find a murderer

FiltersDataQueries

DatabaseReportsInterrogate

Find your suspectDownload the suspect_database file

You will need to watch the following tutorials to find the killer:1. Basic filter2. Advanced filter3. Parameter query

IF you can download it, download the spreadsheet version and watch the video to import it into Access and then follow the steps yourself.

Page 9: Do it now activity

KEYWORDS

LEARNINGOBJECTIVES

I can use a filter to find a murderer

FiltersDataQueries

DatabaseReportsInterrogate

FilteringIn order to find some of the information you need, you will have to filter using two different fields – in this case, to find people who were in the Maths and English departments. To do this you need to use the Advanced Filter function. You can see how to do this by watching advanced filter.

Page 10: Do it now activity

KEYWORDS

LEARNINGOBJECTIVES

I can use a filter to find a murderer

FiltersDataQueries

DatabaseReportsInterrogate

Advanced FilterNow it's your turn. Use the 'Advanced Filter' function to find out who were in the English and Maths departments.

You now need to add the field that you want to search to the grid. The grid should already have the fields 'Shoe Size' and 'Hair Colour'. This is because you have already searched using these fields. Click in the field next to 'Hair Colour' and add the field 'Alibi' to your grid using the dropdown menu.

Page 11: Do it now activity

KEYWORDS

LEARNINGOBJECTIVES

I can use a filter to find a murderer

FiltersDataQueries

DatabaseReportsInterrogate

Advanced Filter

Page 12: Do it now activity

KEYWORDS

LEARNINGOBJECTIVES

I can use a filter to find a murderer

FiltersDataQueries

DatabaseReportsInterrogate

Advanced FilterNext, enter 'Maths Department' and 'English Department' in the 'Criteria' section (see below). Now apply the 'Advanced Filter' to your database. Don't forget to write down the names of the suspects on find the killer.doc under Search 3.

Page 13: Do it now activity

KEYWORDS

LEARNINGOBJECTIVES

I can use a filter to find a murderer

FiltersDataQueries

DatabaseReportsInterrogate

The murderer has now been arrested and Detective Turner needs to track down witnesses to appear in court. What information do you think he will need? Try to find a specific person by their surname (for example, Hirst). Did it work? What is the best way to get the information Detective Turner needs?

Detective Turner would like you to create a method of searching for people by their surname so that he can find the correct witness details ready for court. You will need to create a parameter query for this.

Page 14: Do it now activity

KEYWORDS

LEARNINGOBJECTIVES

I can use a filter to find a murderer

FiltersDataQueries

DatabaseReportsInterrogate

Parameter queries.. allow you to enter different criteria each time for the same search. So, if you need to be able to find people by surname, then a parameter query is ideal. Watch parameter query .swf to find out how to do this.

Now it's your turn. To create a parameter query that will find people using their surname you will need to include the following fields in your database: 'Surname', 'Forename', 'House number', 'Street', 'Town', 'Telephone number'.Now test that it works by running the query and entering the surname 'Johnson'. Save the query as Surname. This means you will be able to use the query again and again.

Page 15: Do it now activity

KEYWORDS

LEARNINGOBJECTIVES

I can create a database which is fit for purpose

FiltersDataQueries

DatabaseReportsInterrogate

Round it up!!As a class, discuss the difference between filtering for information and using a query. Which method do you think is better? Would you have been able to find the murderer using a series of queries?

Filters are better at selecting multiple criteria while queries are better at finding objects or people based on one or two different criteria

Page 16: Do it now activity

KEYWORDS

LEARNINGOBJECTIVES

ALL(Level 3)

use filters or can perform single criteria searches for information.

MOST(Level 4)

perform more complex searches for information e.g. using Boolean and relational operators.

SOME(Level 5)

query data on one table using a typical query language.

I can …I can use a filter to find a murderer