Because of the Crosstab query's rigid structure, they lack the ability to add on additional related information. In this movie, Adam shows how to get around this limitation by building a second Select query off of the crosstab results. In this manner, a calculated field that reveals the return rate of orders for each salesperson is created.
- [Voiceover] Crosstab queries are a little limited…in their arrangement,…but because they're queries,…you can use them as a source…for other queries to build on to.…Let's build another crosstab manually…in the Query Designer,…and see how this might be useful.…If I open up our Orders table,…you'll notice that we have a column here called Status.…And it's gonna list whether the order was completed…or returned.…As a quality assurance and loss prevention measure,…I'd like to track the sales people…that are attached to each order,…and see if there's any discrepancies…between the return rate of an order…and the employee that's attached to the order.…Let's go ahead and close this orders table down,…and we'll start a new Crosstabs query…by going to the Create tab,…and going into the Query Designer.…
Here, I'm gonna pull the information from the Orders table,…and I will close the show table window.…The fields I want are the salesperson ID,…I'll then scroll down to find the status,…and then we'll scroll back up to get the order ID.…
- 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.