Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Split data alphabetic

Status
Not open for further replies.

gorgin

Computer
Aug 25, 2005
1
Hi all,

I wonder if someone could help me. how can I list information based on their beginning letter?

for example I have a list of names as: Jack, Christian, Ferdinand, Tom, George, Sofia, Al.

I want to list the people whose names begin by a letter between A-M.

is there any instruction in SQL that can help me to split the list of data like that?

I thank you in advance.
 
Replies continue below

Recommended for you

select distinct name from <your table> where name between 'A' and 'N' order by name
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor