MySQL “ALL” statement not working in phpmyadmin

自闭症网瘾萝莉.ら 提交于 2019-12-13 04:57:08

问题


I am having some issues when trying to use the ALL statement in phpmyadmin ver. 4.5.4.1 (latest).

The ANY statement doesn't seem to cause any issue and all subqueries that make use of ALL actually work when I replace the ALL with an ANY. Here's a sample example:

 SELECT * FROM T
 WHERE A >= ALL (
 SELECT T2.A FROM T T2)

This query trows the following two error messages:

Unrecognized keyword. (near "ALL" at position 50)
Unexpected token. (near "(" at position 54)

And it perfectly works when I switch the ALL with an ANY (but doesn't give the right result).

Is there any known fix? Is it an issue from phpmyadmin's side? Thanks for your time.


回答1:


This appears to me to be a problem with the phpMyAdmin parser library; I've reported it at https://github.com/phpmyadmin/phpmyadmin/issues/12028



来源:https://stackoverflow.com/questions/35490422/mysql-all-statement-not-working-in-phpmyadmin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!