SQL keywords used to select partial values code example
Example 1: sql searching via key word
SELECT id, description
FROM table
WHERE MATCH (description) AGAINST('keyword1 keyword2')
Example 2: sql searching via key word
SELECT id, category, location
FROM table
WHERE
(
category LIKE '%keyword%'
OR location LIKE '%keyword%'
)