(mysql)带有子查寻的1064查寻错误

在使用mysql 4.0.18-nt版本和php-myadmin 4.3.4版本, 我有一个带子查寻的查寻:
select num from request
where num in (select max(num) from request group by num2)

我得到了1064查寻错误(你的sql语法里有错误),我不知道为什么。 根据文件,我的语法是正确的。只有在mysql 4.1或更高版本才能支持子查寻。你需要升级你的系统。

Published At
Categories with 数据库类
Tagged with
comments powered by Disqus