Is it possible to combine the CASE statement and the LIKE operator in a MySQL SELECT statement?
CASE
LIKE
SELECT
For Example, I am trying to query
Try
SELECT CASE true WHEN digits LIKE "6901%" THEN substr(digits,4) WHEN digits LIKE "91%" THEN substr(digits,2) END as "digits", FROM raw