Hi I need to correct this query, which ends with error:
missing right parenthesis
what's nonsense, problem is probably somewhere else
SELECT name,
(name LIKE '%adam%') AS score
FROM names
ORDER BY score DESC
If is not possible use LIKE in SELECT part, how is possible to list "ADAMS" first ?