Assume I've the following table in sqlite database
Table name A with column A1 and A2
Table name B with column B1 and B2
I want to query like following
SELECT A1 FROM A, B WHERE A.A2 LIKE '%'+B.B2+'%' AND B.B1 = 1
I need the result of 2 rows which contains 1,4
But always it returns 0 rows.


JOINsyntax! Easier to write (without errors), easier to read and maintain, and easier to convert to outer join if needed!/separated items is a mess.