A quick question, I can’t find it on the internet, probably I am looking at the wrong “term”.
But how do you make a SQL query statement with “if contains“
"SELECT something FROM " + TABLE_NAME + " WHERE name **contains** '*String*'", null);
I know you got these statements: = > < >= <= but what to use for if contains?
You want the
LIKEkeywordDepending on the variety of SQL for the wildcard.
SQLite uses % for a sequence of 0 or more unspecified characters (like a *), and an underscore _ for any single character