I'm trying to build a query which matches the rows following these rules :
Is it possible to do so ?
Thanks
you mean this?
SELECT *
FROM table
WHERE row
BETWEEN 'MATCH_2' AND 'MATCH_5';
or converted to int
SELECT *
FROM table
WHERE CAST(SUBSTRING(row FROM 7) AS UNSIGNED)
BETWEEN 2 AND 5;