Operators and Wildcards

Slides:



Advertisements
Similar presentations
Relational Database Systems Higher Information Systems Advanced Implementation in Microsoft Access.
Advertisements

Database Management Systems and Enterprise Software
Lesson 30: Maintaining a Database. Learning Objectives After studying this lesson, you will be able to:  Change the layout of a table by adjusting column.
I can order decimal numbers up to three decimal places (4a)
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
With Microsoft ® Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
Querying a Database Using the Select Query Window
Sorting, DCOUNT, & DAVERAGE.  Type in data from WBK p. 7 in Excel  Highlight the entire array of data.
Chapter 2 Querying a Database
CTS130 Spreadsheet Lesson 13 Working with Lists. Copying Data between Workbooks  Use the [Copy ]and [Paste] Buttons  Use the CTRL+[C] and CTRL + [V]
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 3 – Finding, Filtering,
CORE 2: Information systems and Databases STORAGE & RETRIEVAL 2 : SEARCHING, SELECTING & SORTING.
Software Development Unit 2 Databases What is a database? A collection of data organised in a manner that allows access, retrieval and use of that data.
1 ADVANCED MICROSOFT EXCEL Lesson 11 Filtering, Extracting, and Using Database Functions.
1 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and Custom Forms.
Database Management Systems. This lesson includes the following sections  Databases and Management Systems Working with a Database Enterprise Software.
Database Applications – Microsoft Access Lesson 9 Designing Special Queries Updated 4/11.
Database Study Guide By Mr. Free. Question  What is a database?
Database Applications – Microsoft Access Lesson 9 Designing Special Queries.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
DATABASES. DEFINITIONS: What is a database? an organized collection of related information. File: A database file is made up of related records in a database.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
1 Single Table Queries. 2 Objectives  SELECT, WHERE  AND / OR / NOT conditions  Computed columns  LIKE, IN, BETWEEN operators  ORDER BY, GROUP BY,
Creating a Database Designing Structure, Capturing and Presenting Data.
WJEC Applied ICT Databases – Queries and Database Practice Queries When you create a database – one of the main strengths of it is the ability to.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
What have we learned?. What is a database? An organized collection of related data.
Microsoft Office XP Illustrated Introductory, Enhanced Tables and Queries Using.
Database Applications – Microsoft Access Lesson 4 Working with Queries 36 Slides in Presentation.
Microsoft Office 2013: In Practice Chapter 3 Creating and Using Queries Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Chapter 6 Creating, Sorting, and Querying a Table
Microsoft Office Excel Sorting Filters Formulas Terry Stewart Sue LaPlaunt.
DAY 16: MICROSOFT ACCESS – CHAPTER 2 Madhuri Siddula October 8, 2015.
Databases Letts Chapter 11. A database program can be used to:  sort a file into a different order;  search through the records for a matching string.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Microsoft Access 2000 Presentation 5 Creating Databases Part IV (Creating Queries)
Browse Index Keyword Index Browse Index – 1xx, 24x, 6xx, 7xx Keyword Index – 1xx, 2xx, 6xx, 7xx, plus 5xx.
Course Contents Overview: Database basics Lesson 1: Benefits of using a database Lesson 2: Table that data Lesson 3: Analyzing, viewing, and reporting.
ACCESS PROJECT TWO. PROJECT ONE In project one you: -Created Tables -Created Forms -Created Reports In this project you will learn about queries. Databases.
Some other query issues:
Querying in Access Objectives: Learn how to use the Access Query Design Tool manipulate data in Access: Sorting data Aggregating Data Performing Calculations.
Lesson 23 Managing and Reporting Database Information
Objectives Query for top values Create a parameter query
ATS Application Programming: Java Programming
Handling Data Designing Structure, Capturing and Presenting Data
Access Tutorial 4 Creating Forms and Reports
Larry Reaves October 9, 2013 Day 16: Access Chapter 2 Larry Reaves October 9, 2013.
Microsoft Office Illustrated Fundamentals
Materials Engineering Product Data Management (ePDM)
Microsoft Access 2003 Illustrated Complete
Lesson 2 Notes Chapter 6.
Database Vocabulary Terms.
GO! with Microsoft® Access e
MS Access: Querying Tables
Introduction to MS Access
Database Applications – Microsoft Access
Creating Simple and Complex Queries
Handling Data Designing Structure, Capturing and Presenting Data
Lesson 3 Chapter 10.
Calculations in Queries
Lesson 24 Managing and Reporting Database Information
Microsoft Office Access is the best –selling personal computer database management system. What is Access?
Lesson Objectives By the end of the lesson you will be able to:
Creating Reports.
Cycle 3: Unit 27 Lessons 104 – 111.
Database Management Systems and Enterprise Software
Presentation transcript:

Operators and Wildcards

Learning intentions We are: Revising previous learning on Database Queries Using Mathematical Operators within queries Learning about Wildcards and when its appropriate to use these

Learning intentions We are also Learning about queries that include: AND, OR, NOT, BETWEEN, NULL, IS NOT NULL

Success criteria You will successfully be able to conduct queries to search the database and know how to print these You will have developed your knowledge of queries and your ways of searching will be more sophisticated, and therefore you will be more productive

Success criteria You will successfully be able to conduct sorts to order the results you have found Sorts on one field Sorts on 2 fields

When you search a database using a query you can search for a very specific criteria in a specific field to find related results to do this you would enter this specific criteria in the criteria box under the field heading within the query.

To refine your query, You can also search on more than one field at a time. This will narrow down the results that are given.

Mathematical Operators One or more words Mathematical Operators Wildcards Or And Not Between Is Null Is Not Null Criteria

Mathematical operators > >= < <= = <>

wildcards Character Description Example * Matches any number of characters. You can use the asterisk (*) anywhere in a character string. wh* finds what, white, and why, but not awhile or watch. ? Matches a single alphabet in a specific position. b?ll finds ball, bell, and bill. [ ] Matches characters within the brackets. b[ae]ll finds ball and bell, but not bill. ! Excludes characters inside the brackets. b[!ae]ll finds bill and bull, but not ball or bell. Like “[!a]*” finds all items that do not begin with the letter a. - Matches a range of characters. Remember to specify the characters in ascending order (A to Z, not Z to A). b[a-c]d finds bad, bbd, and bcd. # Matches any single numeric character. 1#3 finds 103, 113, and 123.

wildcards Whilst its good to have a knowledge of all available wildcards, we will mostly use the * wildcard.

Queries can also so used to sort the results on one or more field. sorting Queries can also so used to sort the results on one or more field. Field headings must be entered into the query in the order that they have to be sorted. For example, in a sort by SURNAME and CLASS, you would need to ensure that SURNAME is entered in the query first. This would ensure you get the correct order.

Sorting – ASCENDING ORDER Ascending Order sorts alphabetically A>Z Ascending Order also sorts numerically, smallest to largest Ascending Order also sorts chronologically, first to last

Sorting – DESCENDING ORDER Descending Order sorts alphabetically Z>A Descending Order also sorts numerically, largest to smallest Descending Order also sorts chronologically, last to first

Printing results of queries Results of queries can be printed by copy and pasting the results to a Word document Its better if you print them in a database report, demonstrating your knowledge of reports. You may have to include your query results in a business letter or in a Powerpoint presentation, so in this case your would simply open the document and paste the query results in the relevant place.

Worked examples