I am not sure of what you asked. But if you want to know if a word matches a string from a table row, sql provides a magic word : LIKE. You should write something like this :
SELECT my_row FROM my_table WHERE my_row LIKE "%my_key_word%";
don't forget the %, it means "any string"
By YaK(tm) 🙂