954,566 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

select from part of column query

how do i select data from a table by sorting the first word from a column?

for example:

"user1 hello"
"user2 one two three"
"user3 where are you"
"user1 im fine"

how can i select all the data starting with "user1"?

peanutong
Newbie Poster
2 posts since Aug 2008
Reputation Points: 10
Solved Threads: 0
 
select * from tb_TableName where AColumn like 'user1%'
huangzhi
Light Poster
48 posts since Feb 2008
Reputation Points: 10
Solved Threads: 13
 
Select*from (Tablename) Where (Colom) ," "
prasannapower
Newbie Poster
20 posts since Aug 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You