I have this Mysql Query:
SELECT page_id FROM page
WHERE page_title IN ('paul', 'mccartney')
My target is to get the article which includes this two words (in this example possible more words). I have a article where page_title
contains 'paul mccartney'
. The problem he's only searching for rows which containing on of the words, and it returns me the entry with only 'paul'
as the page_title
. I want, that the server returns the row where the page_title
contains every of my words which are in the in clausle.