1064 error on query with subquery

I'm using MySQL version 4.0.18-nt and php-myadmin with version 4.3.4. I have a query with a subquery:
select num from request
where num in (select max(num) from request group by num2)
I get the #1064 error ("You have an error in your SQL syntax"), and I don't know why. According to the documentation, my syntax is correct. Any thoughts?

    Requires Free Membership to View

Subqueries are only available from MySQL 4.1 and higher. You will need to upgrade.

This was first published in August 2004

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.