Access provides a couple of additional functions such as Date() and Now() that will return the current date and time. This is helpful for queries with criteria such as “…within the last 30 days” or “…two weeks from today.” In this movie, Adam shows how these functions can be used in date calculations and in a query's selection criteria.
- [Voiceover] So far, we've taken a look at how…we can work with dates relative to each other…or relative to a specific and static date range.…Access provides a couple of additional functions…that will allow us to define dates relative to today…or relative to right now.…This is helpful for queries with criteria…such as within the last 30 days…or two weeks from today.…In other words, dates with specific relationships…to the current date and time.…The first part requires us to accurately define…today's date and time, and we can do that…with a couple of built-in functions.…Let's create a new query in Design View,…and we'll just add a table here.…
I'll add the Customers one,…doesn't really matter what we do.…Now in the first field,…I'm gonna type in the first function,…which is simply date.…I'm gonna type in an open parenthesis…and a closing parenthesis, and that is the entire function.…It's just the date function.…So it gave us this expression one alias here…at the beginning, which is terrible,…so I'm gonna rename this to just Date.…
- 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.