Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mysql: unrecognized statement type. (near WITH)

Tags:

mysql

I'm trying to create cte statement in phpmyadmin but phpmyadmin shows error on left 'unrecognized statement type. (near WITH)'. I really don't understand whats wrong with this code or MySql/phpmyadmin or any others configuration.

PHP Version 7.2.0. MySQL 5.0.12

click for snapshot

like image 672
Akash Avatar asked Dec 08 '25 17:12

Akash


1 Answers

WITH keyword (Common Table Expressions) are not yet supported by phpmyadmin's sql parser yet can check it here.

Until that to use the same syntax use other alternatives tools like sequal pro for macos etc or sql command line itself.

like image 153
Jai Gohil Avatar answered Dec 11 '25 12:12

Jai Gohil



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!