Quantcast
Viewing all articles
Browse latest Browse all 3

Answer by Frenk999 for Is there a method to check if an array includes one value in SQLite?

I believe this should work:

SELECT * from my_table WHERE tags LIKE '%"love"%';

Keyword LIKE lets you query partial information in the column and it's used in WHERE clause just like operators =, IN, BETWEEN

Note:

  • The percent sign % wildcard matches any sequence of zero or more characters.
  • The underscore _ wildcard matches any single character.

Viewing all articles
Browse latest Browse all 3

Trending Articles