tags:

views:

76

answers:

1

Lets say I have a table Y with column X.

There is one row of "X" with the string "abcdefg", and another row with "qwerty".

Can I make a SELECT query in sqlite to choose the row which contains the substring "abcd" ?

+4  A: 
SELECT * FROM Y WHERE X LIKE "%abcd%"
KennyTM
Looks like it supports LIKE http://www.sqlite.org/lang_expr.html
NitroxDM
Thanks works fine
Janusz