My query structure is like below.
WITH cte1 AS (SELECT a, b FROM table1) SELECT * FROM cte1;
but it comes with below error
Unrecognized statement type. (near "WITH" at position 0)
I have checked my MySQL version with mysql --version
command and my MySQL version is mysql Ver 14.14 Distrib 5.7.25, for Linux (x86_64) using EditLine wrapper
It's an issue with the "with" keyword.
Can you please help me with this concern?