Solved

Making a qery to search for words that start with the letter A

Posted on 2013-11-09
4
282 Views
Last Modified: 2013-11-09
How would I make a query to return only those records that start with the letter A?
0
Comment
Question by:daisypetals313
  • 2
4 Comments
 
LVL 11

Expert Comment

by:Gregory Miller
ID: 39635835
SELECT tblUserNames.Username FROM tblUserNames WHERE ((Left([Username],1)="M"));

Quick and dirty to find all usernames that start with "m"
0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 39635838
another way is

select * from
TableX
where [Fieldname] like "m*"
0
 

Author Closing Comment

by:daisypetals313
ID: 39635842
Thanks.
0
 
LVL 11

Expert Comment

by:Gregory Miller
ID: 39635847
ouch
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question