By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| version() |
|---|
| 5.7.35 |
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'pairs (p1, p2) AS (
SELECT * FROM (
VALUES ('2' at line 4
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'pairs (p1, p2) AS (
SELECT '22ND' AS p1, '^22' AS p2 UNION
S' at line 4
| '1245' REGEXP '24' |
|---|
| 1 |
| '1245' REGEXP '^24' |
|---|
| 0 |
| '2415' REGEXP '^24' |
|---|
| 1 |