Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Introducing the database

From: Access 2010: Queries in Depth

Video: Introducing the database

This course focuses primarily on queries, which are only one of Microsoft Access's five main object types. In order to get the most out of this course, you should have a basic working knowledge of the other four, namely tables, forms, reports and macros. Now, there is no need to be an expert in their application but you should feel comfortable knowing what each object is and what they are used for. Throughout this course, we will be working with data from the Two Trees Olive Oil Company. In the navigation pane on the left, you will notice that we have several database objects that have already been established.

Introducing the database

This course focuses primarily on queries, which are only one of Microsoft Access's five main object types. In order to get the most out of this course, you should have a basic working knowledge of the other four, namely tables, forms, reports and macros. Now, there is no need to be an expert in their application but you should feel comfortable knowing what each object is and what they are used for. Throughout this course, we will be working with data from the Two Trees Olive Oil Company. In the navigation pane on the left, you will notice that we have several database objects that have already been established.

I've gone ahead and applied a custom grouping based off of the chapters for this course. So, if you open up Chapter 1, you will see all of the files that we will look at in Chapter 1. At the very top, we can click on this drop-down menu and switch to Object Type, which will show us all of the objects within our entire database. I will scroll to top and you will see that we have a list of our tables, our queries. And I will scroll down to find all of our forms and our reports. We can go ahead and minimize these using the up arrow on the side of the bar.

Let's scroll up to the top. I will go ahead and switch this back into my custom grouping and we'll look at Chapter 1. Now, when jumping into a new database with unfamiliar data, it's always a great idea to take a few minutes to review the tables and relationships in order to familiarize yourself with the contents that you will be working with. Let's go ahead and go up to the Database Tools in Relationships window. You will see that our database contains multiple tables that are all related to each other. We will start with this Orders table.

The Orders table has a ProductID for the product that was ordered. That's linked to the Products table. The Products table in turn is linked to a table that describes our sizing, our OilID, and our GradeID for each oil type. If we go back to the Orders table, we will see that that's linked to a table about the customer that placed the order, the table of our employees that helped with the order, and if we scroll to the right, we will see a lookup table that give us more information about the states that our customers and employees are from. Let's take a look at each table individually to look at the data that's within each.

Let's open up our DirectCustomers table by double-clicking on it in the navigation pane. We will see that our Customers table has a Customer ID, First and LastName, Phone number, Address including City, State and Zip. And I will scroll to the right, we have got our Email address and a Yes and No field that describes whether they are subscribed to our newsletter. Let's go back to our Employees table. Our Employees table includes an Employee ID, First, Middle and LastName, Phone number, Address, City, State and Zip, Email. And let's scroll to the right. We have got their HireDate, their Hourly rate of pay and what Department they are part of.

Let's go ahead and take a look at our Orders table. I will double click on in the navigation pane. Our Orders table references an OrderID number. This is a unique ID for the transaction. The date that the transaction was placed. An ID number for the customer that placed that order, an ID number of the product that was ordered, and the ID number of the salesperson that assisted with that order. If we open our Products table, we will see our ProductID number, the full text of what that product is, a unique code for the type of oil that that product represents, its size, its costs and this is our cost.

We have got the price to the customer and then we have two calculated fields for MarkupDollars and that's the difference between the price that the customer pays and then our cost, and then we have a MarkupPercent, which is the percent between our cost and the price the customer pays. Let's take a look next at our GradeID table. This is the simple lookup table that includes our GradeID and the text of what that grade means. The same thing applies to our OilID. We have our OilID numbers and the full text of what that is in a unique code.

We have got our Sizes table that translates our size into a text version, so we can see that the 8 ounce size is Small and the 64 Ounce size is our Half Gallon. And finally, we have a lookup table for States. This takes our states' two letter state abbreviations and it gives us the full name of the state and some information about what division and region that state belongs to. So, that was just a quick overview of the Access 2010 environment and the database that we will be using throughout this course. If any of that was new to you or you feel you might need some refreshing, checkout Access 2010 Essential Training available on the lynda.com Online Training Library.

Now that we are little more familiar with the data that we will be working with, we can start turning that data into information with queries.

Show transcript

This video is part of

Image for Access 2010: Queries in Depth
Access 2010: Queries in Depth

46 video lessons · 13573 viewers

Adam Wilbert
Author

 
Expand all | Collapse all
  1. 9m 9s
    1. Welcome
      1m 10s
    2. Using the exercise files
      41s
    3. Introducing the database
      4m 29s
    4. Previewing the course
      2m 49s
  2. 17m 17s
    1. Understanding queries
      3m 31s
    2. Following naming conventions and best practices
      2m 56s
    3. Using the Query Wizard
      5m 21s
    4. Exploring the design interface
      5m 29s
  3. 26m 39s
    1. Defining criteria
      5m 40s
    2. Understanding comparison operators
      3m 19s
    3. Defining the column headers
      2m 49s
    4. Exploring the property sheet
      7m 32s
    5. Printing query results
      2m 41s
    6. Working with joins
      4m 38s
  4. 14m 14s
    1. Understanding parameter queries
      4m 27s
    2. Obtaining parameters from forms
      5m 17s
    3. Creating a combo box
      4m 30s
  5. 23m 24s
    1. Understanding the Totals field
      5m 31s
    2. Creating aggregate calculations
      3m 31s
    3. Exploring the Expression Builder interface
      4m 28s
    4. Using mathematical operators
      5m 46s
    5. Applying text functions
      4m 8s
  6. 24m 23s
    1. Understanding dates as serial numbers
      2m 42s
    2. Specifying a range of dates or times
      3m 47s
    3. Formatting dates
      4m 31s
    4. Using other Date/Time functions
      3m 47s
    5. Defining today's date
      2m 41s
    6. Calculating time intervals
      6m 55s
  7. 20m 9s
    1. Introducing the conditional IIf function
      2m 57s
    2. Creating an IIf function
      7m 31s
    3. Nesting IIf functions
      4m 57s
    4. Using the Switch function
      4m 44s
  8. 20m 41s
    1. Understanding the reporting tool
      2m 13s
    2. Building the form
      6m 57s
    3. Building the query
      5m 4s
    4. Building the report
      3m 30s
    5. Finalizing the reporting tool
      2m 57s
  9. 25m 37s
    1. Finding duplicate records
      2m 17s
    2. Identifying unmatched records
      2m 29s
    3. Creating crosstab results
      2m 57s
    4. Creating backups
      1m 29s
    5. Creating update queries
      3m 22s
    6. Making, deleting, and appending records
      5m 36s
    7. Uniting tables
      3m 16s
    8. Embedding SQL code in queries
      4m 11s
  10. 1m 0s
    1. Next Steps
      1m 0s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

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.


Mark all as unwatched Cancel

Congratulations

You have completed Access 2010: Queries in Depth.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.