I have this table:
first_name | last_name
abc def
aaa bbb
... ...
I want to make a query that will get a string and find
if this string equals (or part of) – “first_name (space) last_name”
for example, a good queries will be:
a
ab
abc d
abc de
aaa bbb
I tried this selection:
String selection = "first_name" + " " + "last_name" + " LIKE '" + GIVEN_STRING + "%'";
but without luck
how can i achieve it?
SELECT (first_name || ” ” || last_name) AS full_name WHERE full_name LIKE ‘%blah%’