MySQL Forums
Forum List  »  Newbie

Need help on mysql query
Posted by: Casey Chau
Date: March 31, 2009 09:46PM

Hi All,

I'm new to the forum. Greetings to all here.

I've a problem in writing a query statement. Please give me some advice for such a helpless newbie !!!

I've a table with all company name, with id
e.g.
id Name
--------------
1 ABC company
2 DEF company
3 XZY company

And I have a string that contains some company name,
e.g. 'ABC company is working on a project with DEF company'

I would like to search all company name in the string that exist in the table
So I will ABC company and DEF company in the above case.

I've think of using % but seem doesn't work. Could anyone give me some advice

Many Thanks

Options: ReplyQuote


Subject
Written By
Posted
Need help on mysql query
March 31, 2009 09:46PM
March 31, 2009 10:17PM
April 02, 2009 12:35AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.