一个简单的 SQL 语句,例如
SELECT 1 from MyTable WHERE 1 NOT IN (2);
Run Code Online (Sandbox Code Playgroud)
产生:
4 Errors were found during analysis.
1. Unrecognized keyword (near "NOT IN" at position 30)
2. Unexpected token. (near "(" at position 37)
3. Unexpected token. (near "2" at position 38)
4. Unexpected token. (near ")" at position 39)
Run Code Online (Sandbox Code Playgroud)
我刚刚在 phpMYAdmin 网站上注意到“当前版本与 PHP 5.5 到 7.0 和 MySQL 5.5 兼容”。我使用的 MySql 版本是 5.6.26。这可能是问题吗?上述SQL某些des通过mysql.exe(MySql Console)直接输入时不会出现问题。
| 归档时间: |
|
| 查看次数: |
3593 次 |
| 最近记录: |