Let's say I have a table named table1
in a sqlite3 database (via python) with two columns named 'id' and 'string' and here are the three entries in the table:
id string
'a' 'google'
'b' 'apple'
'c' 'application'
so let's say I want all the rows with 'app' in them, so how would i do that? I'm looking for something like this:
SELECT * FROM table1 WHERE 'app' in string
which would in theory return the last 2 rows....