With SQLite I can:
select my_column from my_table where substr(word,1,1) like '%I%';
so I'll have all the string results whose first character is I. But now I want to have results whose first character is I and F and J. I have tried:
select my_column from my_table where substr(word,1,1) like '%I%'&'%F%'&'%J%';
but that doesn't work.
What grammar should I use to find results with those first letters?
select my_column from my_table where substr(word,1,1) IN ('%I%', '%F%', '%J%');
. Also see: sqlite.org/lang_expr.html – Sebastian Mar 29 '13 at 8:15