From the course: Access 2019: Queries
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Use wildcards in criteria
- [Instructor] When it comes to matching text values, sometimes you won't have an exact text string that you want to find. Often, you'll simply have a pattern or want to search the database by a common initial letter, prefix or suffix. In order to perform these types of fuzzy text matching, you'll turn to something called a wildcard. To take a look, we'll go to the Create tab and start a new query in design view. I'll add an e-customers table and close the Show Table window. And this time I'll just add the first name and the last name columns down below. Now if I wanted to find all the customers that have a last name that starts with G-I-L-L, and then anything after that, what I can do is come down here to the Criteria section, and I'll type in G-I-L-L and then the wildcard character, asterisk. Asterisk means any character and any number of characters. When I press Enter, Access fills in the required operator here, like, and then it wraps in G-I-L-L asterisk in double quotation marks.…
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
-
-
-
-
Define query criteria6m 28s
-
(Locked)
Understand comparison operators3m 18s
-
(Locked)
Use wildcards in criteria3m 23s
-
(Locked)
Rename the column headers2m 54s
-
(Locked)
Explore the property sheet6m 23s
-
(Locked)
Work with joins6m
-
(Locked)
Challenge: Create a select query31s
-
(Locked)
Solution: Create a select query2m 42s
-
-
-
-
-
-
-
-
-
-