Re: nested query doesn't work on 4.0.20
Zhiliang Hu wrote:
> I am running MySQL 4.0.20.
> mysql> select updated from map_ref where updated = (select max(updated) from map_ref);
> ERROR 1064: You have an error in your SQL syntax.
>
> Any suggestion what could be the problem?
The problem could be that subqueries are only supported from MySQL 4.1 onwards, a fact that is clearly mentioned in the part of the MySQL Reference Manual that deals with subqueries:
http://dev.mysql.com/doc/mysql/en/subqueries.html
--
felix
Please use
BBCode to format your messages in this forum.
Subject
Written By
Posted
Re: nested query doesn't work on 4.0.20
May 12, 2005 11:00AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.