Because Access stores dates as serial numbers, it becomes very easy to perform date comparisons or define ranges of dates. In this movie, Adam explains how to use the comparison operators such as "greater than," "less than," or "equal to" in order to build criteria into a query that targets a range of dates, rather than an exact match.
- [Voiceover] Because Access stores dates as serial numbers,…it becomes very easy to perform date comparisons,…or define ranges of dates.…We've seen some of these comparison operations before,…but I thought it'd be useful to see them,…and see how they can be applied specifically to…working with date data.…Let's go ahead and create a new query here in design view,…and we're gonna take a look at our employees' hire dates.…I'll go ahead and add the Employees table,…their EmployeeID, FirstName, LastName,…and we'll scroll down and find their Hire Date, here.…Now if I wanted to find all of the employees…that were hired on the 11th of December, 2015…we know that we can come down here to the criteria row,…and type in 12/11/2015.…
As soon as I press Enter, Access wraps that…in the date delimiter characters,…that's the pound signs that you see here…at the beginning and at the end.…When I run this query we'll see all of the employees,…all two of them that were hired…on the 11th of December, 2015.…Let's go back into design view.…
- Creating a query with the wizard
- Defining query criteria
- Using comparison and wildcards in criteria
- Working with joins
- Creating parameter queries
- Using the built-in functions in Access
- Summarizing data
- Aggregating records with totals
- Working with dates
- Creating alternative queries: unmatched, crosstab, and more
- Writing queries with SQL
Skill Level Intermediate
1. Introduction to Access Queries
2. Creating Simple Select Queries
3. Creating Parameter Queries
4. Use the Built-In Functions
5. Aggregating Records with a Totals Query
6. Working with Dates in Queries
7. Understanding Program Flow Functions
8. Alternative Query Types
9. Writing Queries with Structured Query Language
Explore the basics of SQL5m 59s
10. Useful Query Tricks
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.