starter a delegate comes to you (the receptions) and tell you they have lost their timetable...

10
Starter A delegate comes to you (the receptions) and tell you they have lost their timetable (itinerary) What details would you ask them for to check the delegates database. So you can tell them what seminar they should be in? How long would it take to search the delegate database that has 3000 records?

Upload: jerome-banks

Post on 14-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Starter A delegate comes to you (the receptions) and tell you they have lost their timetable (itinerary) What details would you ask them for to check the

Starter

• A delegate comes to you (the receptions) and tell you they have lost their timetable (itinerary)

• What details would you ask them for to check the delegates database. So you can tell them what seminar they should be in?

• How long would it take to search the delegate database that has 3000 records?

Put answers in your book

Page 2: Starter A delegate comes to you (the receptions) and tell you they have lost their timetable (itinerary) What details would you ask them for to check the

Searching a databaseLearning Objectives:

• Can you search a database?

Steps to Success:

• Know what a query is• Can create a simple query • Can run a complex query using <, >, AND,

OR

Keywords:

• Query, Run Query, <, >, AND, OR

Page 3: Starter A delegate comes to you (the receptions) and tell you they have lost their timetable (itinerary) What details would you ask them for to check the

Key Words

Query Simple means to ask a question.

In context of databases it means to search for information

< Less than

> Greater than

AND Include 1 or more of a thing

OR A choice between one thing or another

Page 4: Starter A delegate comes to you (the receptions) and tell you they have lost their timetable (itinerary) What details would you ask them for to check the

1. Select the Create tab from the ribbon

2.Select Query Design

Records in a database

Page 5: Starter A delegate comes to you (the receptions) and tell you they have lost their timetable (itinerary) What details would you ask them for to check the

Query using < , also AND

Starts query

Complex query

Page 6: Starter A delegate comes to you (the receptions) and tell you they have lost their timetable (itinerary) What details would you ask them for to check the

Making different searches

Field Criteria Results

Town “London” Records that have the data London

Numbers of students

<1000 Records that have the data less than 1000

School “F” Records that start with F

Page 7: Starter A delegate comes to you (the receptions) and tell you they have lost their timetable (itinerary) What details would you ask them for to check the

How many tables of information are in this database?

How many schools are there in London?

Can sort query into ascending or

descending order

Results of: QryLondon

Page 8: Starter A delegate comes to you (the receptions) and tell you they have lost their timetable (itinerary) What details would you ask them for to check the

How many tables of information are in this database?

How many schools are there in London?

Can sort query into ascending or

descending order

Making different searches

Page 9: Starter A delegate comes to you (the receptions) and tell you they have lost their timetable (itinerary) What details would you ask them for to check the

Homework

1. How many seconds does it take to run a

query on a million records?

2. Run a query of your choice

3. Screen print, paste in word and annotate –

explain how you did the work

4. Hand in via studentlab.weebly.com homework

hand in page

Page 10: Starter A delegate comes to you (the receptions) and tell you they have lost their timetable (itinerary) What details would you ask them for to check the

Plenary

1. What did we learn/do today?

2. What does query mean when applying this

word to a database?

3. What does design view mean?

4. Is it quicker to run a query than to search the

database manually - why?

5. Describe how you would run a complex query?