From the course: Office 365: Access Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Creating queries with the Simple Query Wizard

Creating queries with the Simple Query Wizard - Microsoft Access Tutorial

From the course: Office 365: Access Essential Training

Start my 1-month free trial

Creating queries with the Simple Query Wizard

- As with many of the objects in Access, the easiest way to get started with queries is to have the Wizard walk us through some of the steps. Before we get started, though, let's have a goal in mind. Let's first talk a look at some existing data tables and one of the easier ways to get the big picture on what's going on in the database, is to go back to that Relationships screen, which, if you remember, we can get to from the Database Tools tab on the Ribbon, and then hit Relationships right here. We can see that our Guests table here is set up with a relationship to the RoomAssignments table which is down here. So we have a GuestID number that's being generated for each of our guests, and in the RoomAssignments table we have the check-in date and room that was assigned. And then we have a link to the GuestID that was assigned to that room for that particular day. We also have some details about what day of the week it was, and the rate code that they paid, whether it was a weekend…

Contents