Solved

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

Posted on 2013-11-09
4
261 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:Technodweeb
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 119

Accepted Solution

by:
Rey Obrero 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:Technodweeb
ID: 39635847
ouch
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now