In this movie, Adam demonstrates his solution to the sixth challenge. He builds a query that calculates the markup percentage for each product, then sorts and groups them together. Then, he finds the apparel products with the highest and lowest markup percentage using the DMax() and DMin() domain functions as criteria.
(techno tone)…- [Voiceover] Here's how I would go about finding…the product with the highest and lowest markup percentages.…First, let's take a quick look inside of the products table.…And I'll find here I've got the item name and the price…to our customers.…In order to find the wholesale cost, though,…I have to go look in the related data table,…and that's gonna be the Products Descriptions one here,…and that'll map the item name to the wholesale cost…that we can find way over here.…So those are the two tables that we need to make use of.…Then go up to the Create tab,…create a new query in Design View,…and pull in those descriptions and the products.…
Now from the product descriptions table,…I'm going to pull in the item name here…and the wholesale cost,…and then from the products table,…we'll grab the price.…Let's go ahead and run it to see what it looks like.…And I can see that I've got lots of the same item name…repeated over again, and that's because each item…has multiple sizes and colors associated with it,…
- 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.