0

What is the syntax in SQLite to get all values which contains given string?

I tried: SELECT columnName FROM tableName WHERE LOCATE(string,columnName)!=0; but it didn't work.

SzRaPnEL
  • 171
  • 3
  • 17

1 Answers1

1
SELECT columnName FROM tableName WHERE columnname LIKE '%string%'
000
  • 26,951
  • 10
  • 71
  • 101