Jump to content

Archived

This topic is now archived and is closed to further replies.

stualk

SELECT FROM - question

Recommended Posts

I want to do a 'SELECT * from db' query where the database contains certains words. How do I do this?

For example, in pseudo:

"Select* from db where FIELD contains the words 'word1','word2','word3'" etc

Is this possible?

Share this post


Link to post
Share on other sites
[code]
SELECT * FROM tab WHERE field LIKE "%word1%" AND field LIKE "%word2%" AND field LIKE "%word3%";
[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.