Download presentation
Presentation is loading. Please wait.
Published byAngelica Nicholson Modified over 9 years ago
1
Classwork: Common Errors Primary keys: don’t forget them! Primary keys: choose the best one! – “Name” and “birthday” are not the best choices. – “Phone number” was a little better. – The best primary key was an ID, with the data type of “Autonumber.” Data types: don’t be lazy!
2
Quiz: Common Errors Horizonal/Vertical LAN/WLAN – not necessarily on the internet! SPELLCHECK READ THE QUESTIONS (especially “how?” questions!) Explaining things, giving details Thing, something
3
Access: Sorting, Filtering, and Querying
4
A quick note We have worked with one table A real database will have many tables.
5
Remember our vocab Field: one column in a database, all having the same data type. – Like Name, ID, and so on Record: all of the data for one entry – All of the data about one friend: their name, address, phone number, and favorite food.
6
Looking for data With a database of one table and 5 records, it’s easy to find information
7
But what about now?
8
Our tools Find Sort Filter Query
9
Find The simplest option We search for one data field Edit Find Ctrl+F
10
Find Options Find What: what you are looking for Look In: search the whole table, or the selected field?
11
Find Options 2 Match: – Any Part of Field – anywhere in the field. “John” will find “John Smith,” “Smith, John,” and “sdfasdfJohnasfgasgfd.” – Whole Field – exactly your text only “John” will only find “John.” – Start of Field – only the beginning “John” will find “John Smith,” but not “Smith, John.”
12
Find and Replace Same as Find, but will change the information for you.
13
Sort A table will be displayed in the order that the data is entered You can change the order the records are displayed – this is sorting.
14
Records Sort
15
Filter A filter will show only records containing the information you choose. Right click on the data you want, and choose “Filter by Selection”
16
Filter results
17
Removing the filter To go back to the full table
18
Review Find: takes us to a particular data value Sort: shows the records in a certain order Filter: shows us only the records containing a certain data value
19
Query Query: to ask a question Queries are what make a database special – you can quickly find any combination of data you want. This leads us to a field of study called Data Mining
20
Data Mining Searching large amounts of data to find interesting relationships. Used in – Marketing – HR – Biology – National Security
21
Creating a query
22
Show table Here you choose which table(s) you are asking questions about
23
Adding a search term Double click on the top window to add a search term to the query.
24
Continue to build the query
25
Sort, Show Sort: as we learned before Show – if it will be displayed
26
Final Query This will display our employees in order of hiring.
27
Close and save, then run the query
28
And we get our results
29
Uses? Get just the data you need quickly Put together information from different tables Export the data to another program
30
For example…
31
Now in Excel! Find the information needed Then do calculations
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.