SQLite select field if text inside contains a specific text SQLite select field if text inside contains a specific text sqlite sqlite

SQLite select field if text inside contains a specific text


SELECT *FROM tableWHERE field LIKE "Hel%"

You could also do LIKE "%Hel%" which would select a field containing the string "Hel" anywhere within it as opposed to "Hel%" which requires that the string starts with "Hel"