what's the simplest way on the wordpress site to possess a database of unique ID amounts and also have a search area that searches the precise phrase and shows results?

produce a table to possess unique ids, and words

To look with a word then use -> SELECT * FROM words_table WHERE word LIKE "%ed%"; This can return results where erectile dysfunction is within words for example finish*erectile dysfunction*, start*erectile dysfunction*, startl*erectile dysfunction*, *erectile dysfunction*ucation

To look by an id use -> SELECT * FROM words_table WHERE id = {$id}