Starter A delegate comes to you (the receptions) and tell you they have lost their timetable...
-
Upload
jerome-banks -
Category
Documents
-
view
212 -
download
0
Transcript of Starter A delegate comes to you (the receptions) and tell you they have lost their timetable...
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
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
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
1. Select the Create tab from the ribbon
2.Select Query Design
Records in a database
Query using < , also AND
Starts query
Complex query
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
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
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
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
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?