From the course: Access 2016 Essential Training
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Using delete queries
From the course: Access 2016 Essential Training
Using delete queries
- In our last movie, we identified a couple of people that are in our Guests Table that have never actually checked into the hotel. We can create a Delete Query to remove them from the database if we'd like. Let's do that by going up to the Create tab and starting a new Query in Design view, and I'm going to add in that Guests Table here. Now I also want to add in the related Query that we built in the last movie, and I can do that by switching over to the Queries tab here, and finding it in the list. Here it is, GuestsWithoutCheckins. I'll double click on that to add that to my Query Design. Let's go ahead and close the Show Table window here, and now we need to create a relationship between these two Tables, and we have the GuestID in both of these, this Table over here and the Query, and we can create a relationship just like we did in the original movie on creating relationships. We'll just click and drag, and we'll drop on top of the other field. Now we saw earlier that the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
Using update queries6m 44s
-
(Locked)
Using make table queries3m 33s
-
(Locked)
Finding unmatched records4m 3s
-
(Locked)
Using delete queries4m 13s
-
(Locked)
Using append queries3m 50s
-
(Locked)
Creating a union query in SQL view5m 27s
-
(Locked)
Getting a different look with crosstab queries3m 19s
-
(Locked)
-
-
-
-
-
-
-