Access queries are able to do more than just pull existing data out of a table. Query expressions can be used to manipulate or create new columns of data that are calculated on the fly. These values aren’t stored in the database and are recalculated whenever they’re called for. In this video, learn how to build an expression that displays a sales tax and total amount due.
- [Instructor] In all of the queries we built so far,…we focused on starting with the data…that's in our tables and then filtering it…using a variety of techniques.…Another very powerful ability of queries…is to create new columns…that are calculated from existing data columns.…The advantage to this is that we don't need…to actually store this data in the database,…we simply calculate it when we need it…and then get rid of it when we don't need it.…In our database, we currently have our room rates stored.…We can use this to calculate the various taxes…that also need to be collected…using simple formulas.…Let's create a new query in Design view…and I'm gonna add in the Guests table,…the RoomAssignments table…and finally, the RoomRates table.…
Let's go ahead and close the Show Table window.…From the Guests table, I'll add the FirstName…and LastName to the query grid.…The CheckinDate from the RoomAssignments table…and finally, the Rate from the RoomRates table.…If I take a look at the data sheet…before I add any query criteria,…
Author
Released
9/24/2018- Navigating the interface
- Creating tables
- Defining data types
- Defining table relationships
- Sorting and filtering table data
- Editing forms
- Creating queries and reports
- Maintaining a database
Skill Level Beginner
Duration
Views
Related Courses
-
Introduction
-
1. Getting Started
-
Database concepts4m 39s
-
Create the database file4m 11s
-
Understand the Trust Center2m 57s
-
Dig into ribbon tabs5m 35s
-
Database navigation pane4m 35s
-
Create a database backup1m 35s
-
-
2. Creating Tables
-
Enter data3m 43s
-
Primary and foreign keys4m 51s
-
Import tables5m 2s
-
3. Setting Field Properties
-
Control input with masks4m 39s
-
Set a default value2m 40s
-
Data validation rules4m 14s
-
Data lookup fields2m 56s
-
Additional field properties4m 26s
-
4. Organizing Records
-
Sort table data2m 41s
-
Filter table data2m 21s
-
Delete records1m 55s
-
Search and replace values2m 22s
-
-
5. Using Queries
-
What are queries?3m 2s
-
Simple Query Wizard4m 19s
-
Build queries in Design view6m 18s
-
Build expressions5m 33s
-
Obtain summary statistics7m 29s
-
-
6. Creating Forms
-
Generate forms from tables5m 36s
-
Use the Form Wizard3m 9s
-
Form Design view5m 8s
-
Find records4m 50s
-
7. Creating Reports
-
Introduce reports2m 46s
-
Report Wizard4m 36s
-
Edit a report in Design view6m 24s
-
Edit a report in Layout view4m 58s
-
Group and sort records5m 26s
-
Create calculated totals3m 18s
-
Create labels3m 21s
-
Adjust print settings4m 15s
-
-
8. Maintaining the Database
-
Set startup options3m 25s
-
Conclusion
-
Next steps1m 1s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Build expressions